Skip to content

Commit

Permalink
DX: update developer environment
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Jan 10, 2024
1 parent bc33775 commit ea2479c
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@
"transision",
"transisions"
],
"ignorePaths": ["**/.cspell.json", ".pre-commit-config.yaml", ".vscode/*"],
"ignorePaths": [
"**/.cspell.json",
".gitignore",
".pre-commit-config.yaml",
".vscode/*"
],
"language": "en-US",
"words": ["ampform", "compwa", "qrules", "tensorwaves", "Zenodo"],
"ignoreWords": [
"Conda",
"MAINT",
"PYPI",
"PYTHONHASHSEED",
"bdist",
"commitlint",
"noreply",
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
PYTHONHASHSEED: "0"

on:
push:
branches:
- main
- epic/*
- "[0-9]+.[0-9]+.x"
pull_request:
branches:
- main
- epic/*
- "[0-9]+.[0-9]+.x"
workflow_dispatch:
inputs:
specific-pip-packages:
description: Run CI with specific pip packages
required: false
type: string

jobs:
style:
if: inputs.specific-pip-packages == ''
secrets:
token: ${{ secrets.PAT }}
uses: ComPWA/actions/.github/workflows/pre-commit.yml@v1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"garaioag.garaio-vscode-unwanted-recommendations",
"github.vscode-github-actions",
"Soulcode.vscode-unwanted-extensions",
"stkb.rewrap",
"streetsidesoftware.code-spell-checker"
],
"unwantedRecommendations": [
"davidanson.vscode-markdownlint",
"garaioag.garaio-vscode-unwanted-recommendations",
"ms-python.flake8",
"ms-python.isort",
"ms-python.pylint",
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
},
"diffEditor.experimental.showMoves": true,
"editor.formatOnSave": true,
"github-actions.workflows.pinned.workflows": [".github/workflows/ci.yml"],
"multiDiffEditor.experimental.enabled": true,
"rewrap.wrappingColumn": 88
}

0 comments on commit ea2479c

Please sign in to comment.