Skip to content

Commit

Permalink
DX: implement GitHub Actions caching (#335)
Browse files Browse the repository at this point in the history
* DX: activate and configure VSCode flake8 extension
* DX: activate and configure VSCode isort extension
* DX: activate and configure VSCode pylint extension
* DX: extend pyright file exclusions
* DX: implement GitHub Actions caching
* DX: run upgrade cron job on 7th day of the month
* FIX: ignore `physique.cuso.ch`
  https://github.com/ComPWA/ampform/actions/runs/3547387830/jobs/5957455069#step:6:312
* MAINT: address mypy issues
* MAINT: address pyright issues
* MAINT: remove deprecated `set-output`
  https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands
* MAINT: split out `jupyter` section for extras_require
* MAINT: update cSpell config
* MAINT: update pip constraints and pre-commit

Co-authored-by: GitHub <noreply@github.com>
  • Loading branch information
redeboer and web-flow authored Nov 25, 2022
1 parent 3155c88 commit 25f67b7
Show file tree
Hide file tree
Showing 24 changed files with 571 additions and 507 deletions.
82 changes: 41 additions & 41 deletions .constraints/py3.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ anyio==3.6.2
aquirdturtle-collapsible-headings==3.1.0
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
astroid==2.12.12
astroid==2.12.13
asttokens==2.1.0
attrs==22.1.0
babel==2.11.0
Expand All @@ -34,53 +34,53 @@ dill==0.3.6
distlib==0.3.6
docutils==0.17.1
entrypoints==0.4
exceptiongroup==1.0.0
exceptiongroup==1.0.4
execnet==1.9.0
executing==1.2.0
fastjsonschema==2.16.2
filelock==3.8.0
flake8==5.0.4
flake8==6.0.0
flake8-blind-except==0.2.1
flake8-bugbear==22.10.27
flake8-builtins==2.0.1
flake8-comprehensions==3.10.1
flake8-future-annotations==1.0.0
flake8-plugin-utils==1.3.2
flake8-pytest-style==1.6.0
flake8-rst-docstrings==0.2.7
flake8-rst-docstrings==0.3.0
flake8-type-ignore==0.1.0.post2 ; python_version >= "3.8.0"
flake8-use-fstring==1.4
fonttools==4.38.0
future==0.18.2
gprof2dot==2022.7.29
graphviz==0.20.1
greenlet==2.0.0
greenlet==2.0.1
hepunits==2.3.0
identify==2.5.8
identify==2.5.9
idna==3.4
imagesize==1.4.1
importlib-metadata==5.0.0
importlib-metadata==5.1.0
iniconfig==1.1.1
ipykernel==6.17.0
ipykernel==6.17.1
ipympl==0.9.2
ipython==8.6.0
ipython-genutils==0.2.0
ipywidgets==8.0.2
isort==5.10.1
jedi==0.18.1
jedi==0.18.2
jinja2==3.1.2
json5==0.9.10
jsonschema==4.16.0
jsonschema==4.17.1
jupyter-cache==0.5.0
jupyter-client==7.4.4
jupyter-core==4.11.2
jupyter-server==1.21.0
jupyter-client==7.4.7
jupyter-core==5.0.0
jupyter-server==1.23.3
jupyterlab==3.5.0
jupyterlab-code-formatter==1.5.3
jupyterlab-markup==1.1.0
jupyterlab-myst==0.1.6 ; python_version >= "3.7.0"
jupyterlab-pygments==0.2.2
jupyterlab-server==2.16.2
jupyterlab-server==2.16.3
jupyterlab-widgets==3.0.3
kiwisolver==1.4.4
latexcodec==2.0.1
Expand All @@ -89,58 +89,58 @@ livereload==2.6.3
mando==0.6.4
markdown-it-py==2.1.0
markupsafe==2.1.1
matplotlib==3.6.1
matplotlib==3.6.2
matplotlib-inline==0.1.6
mccabe==0.7.0
mdit-py-plugins==0.3.1
mdurl==0.1.2
mistune==2.0.4
mpl-interactions==0.22.0
mpmath==1.2.1
mypy==0.982
mypy==0.991
mypy-extensions==0.4.3
myst-nb==0.17.1
myst-parser==0.18.1
nbclassic==0.4.7
nbclassic==0.4.8
nbclient==0.5.13
nbconvert==7.2.3
nbconvert==7.2.5
nbformat==5.7.0
nbmake==1.3.0
nest-asyncio==1.5.6
nodeenv==1.7.0
notebook==6.5.2
notebook-shim==0.2.0
numpy==1.23.4
notebook-shim==0.2.2
numpy==1.23.5
packaging==21.3
pandocfilters==1.5.0
parso==0.8.3
particle==0.20.1
pathspec==0.10.1
particle==0.21.0
pathspec==0.10.2
pep8-naming==0.13.2
pexpect==4.8.0
pickleshare==0.7.5
pillow==9.3.0
platformdirs==2.5.2
platformdirs==2.5.4
pluggy==1.0.0
pre-commit==2.20.0
prometheus-client==0.15.0
prompt-toolkit==3.0.31
psutil==5.9.3
prompt-toolkit==3.0.33
psutil==5.9.4
ptyprocess==0.7.0
pure-eval==0.2.2
py==1.11.0
pybtex==0.24.0
pybtex-docutils==1.0.2
pycodestyle==2.9.1
pycodestyle==2.10.0
pycparser==2.21
pydantic==1.10.2
pydata-sphinx-theme==0.8.1
pydocstyle==6.1.1
pyflakes==2.5.0
pyflakes==3.0.1
pygments==2.13.0
pylint==2.15.5
pylint==2.15.6
pyparsing==3.0.9
pyrsistent==0.19.1
pyrsistent==0.19.2
pytest==7.2.0
pytest-cov==4.0.0
pytest-profiling==1.7.0
Expand All @@ -163,9 +163,9 @@ soupsieve==2.3.2.post1
sphinx==4.5.0
sphinx-autobuild==2021.3.14
sphinx-book-theme==0.3.3
sphinx-codeautolink==0.12.0
sphinx-codeautolink==0.12.1
sphinx-comments==0.0.3
sphinx-copybutton==0.5.0
sphinx-copybutton==0.5.1
sphinx-design==0.3.0
sphinx-thebe==0.1.2
sphinx-togglebutton==0.3.2
Expand All @@ -177,8 +177,8 @@ sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sqlalchemy==1.4.42
stack-data==0.6.0
sqlalchemy==1.4.44
stack-data==0.6.1
sympy==1.11.1
tabulate==0.9.0
terminado==0.17.0
Expand All @@ -187,21 +187,21 @@ toml==0.10.2
tomli==2.0.1
tomlkit==0.11.6
tornado==6.2
tox==3.27.0
tox==3.27.1
tqdm==4.64.1
traitlets==5.5.0
types-docutils==0.19.1.1
types-pkg-resources==0.1.3
types-requests==2.28.11.2
types-setuptools==65.5.0.2
types-urllib3==1.26.25.1
types-requests==2.28.11.5
types-setuptools==65.6.0.1
types-urllib3==1.26.25.4
typing-extensions==4.4.0
urllib3==1.26.12
virtualenv==20.16.6
urllib3==1.26.13
virtualenv==20.16.7
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.4.1
wheel==0.37.1
websocket-client==1.4.2
wheel==0.38.4
widgetsnbextension==4.0.3
wrapt==1.14.1
zipp==3.10.0
Expand Down
60 changes: 30 additions & 30 deletions .constraints/py3.7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ anyio==3.6.2
aquirdturtle-collapsible-headings==3.1.0
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
astroid==2.12.12
astroid==2.12.13
attrs==22.1.0
babel==2.11.0
backcall==0.2.0
Expand All @@ -32,7 +32,7 @@ dill==0.3.6
distlib==0.3.6
docutils==0.17.1
entrypoints==0.4
exceptiongroup==1.0.0
exceptiongroup==1.0.4
execnet==1.9.0
fastjsonschema==2.16.2
filelock==3.8.0
Expand All @@ -44,15 +44,15 @@ flake8-comprehensions==3.10.1
flake8-future-annotations==1.0.0
flake8-plugin-utils==1.3.2
flake8-pytest-style==1.6.0
flake8-rst-docstrings==0.2.7
flake8-rst-docstrings==0.3.0
flake8-use-fstring==1.4
fonttools==4.38.0
future==0.18.2
gprof2dot==2022.7.29
graphviz==0.20.1
greenlet==2.0.0
greenlet==2.0.1
hepunits==2.3.0
identify==2.5.8
identify==2.5.9
idna==3.4
imagesize==1.4.1
importlib-metadata==4.2.0 ; python_version < "3.8.0"
Expand All @@ -64,14 +64,14 @@ ipython==7.34.0
ipython-genutils==0.2.0
ipywidgets==8.0.2
isort==5.10.1
jedi==0.18.1
jedi==0.18.2
jinja2==3.1.2
json5==0.9.10
jsonschema==4.16.0
jsonschema==4.17.1
jupyter-cache==0.5.0
jupyter-client==7.4.4
jupyter-client==7.4.7
jupyter-core==4.11.2
jupyter-server==1.21.0
jupyter-server==1.23.3
jupyterlab==3.5.0
jupyterlab-code-formatter==1.5.3
jupyterlab-markup==1.1.0
Expand All @@ -94,36 +94,36 @@ mdurl==0.1.2
mistune==2.0.4
mpl-interactions==0.22.0
mpmath==1.2.1
mypy==0.982
mypy==0.991
mypy-extensions==0.4.3
myst-nb==0.17.1
myst-parser==0.18.1
nbclassic==0.4.7
nbclassic==0.4.8
nbclient==0.5.13
nbconvert==7.2.3
nbconvert==7.2.5
nbformat==5.7.0
nbmake==1.3.0
nest-asyncio==1.5.6
nodeenv==1.7.0
notebook==6.5.2
notebook-shim==0.2.0
notebook-shim==0.2.2
numpy==1.21.6
packaging==21.3
pandocfilters==1.5.0
parso==0.8.3
particle==0.20.1
pathspec==0.10.1
particle==0.21.0
pathspec==0.10.2
pep8-naming==0.13.2
pexpect==4.8.0
pickleshare==0.7.5
pillow==9.3.0
pkgutil-resolve-name==1.3.10
platformdirs==2.5.2
platformdirs==2.5.4
pluggy==1.0.0
pre-commit==2.20.0
prometheus-client==0.15.0
prompt-toolkit==3.0.31
psutil==5.9.3
prompt-toolkit==3.0.33
psutil==5.9.4
ptyprocess==0.7.0
py==1.11.0
pybtex==0.24.0
Expand All @@ -135,9 +135,9 @@ pydata-sphinx-theme==0.8.1
pydocstyle==6.1.1
pyflakes==2.5.0
pygments==2.13.0
pylint==2.15.5
pylint==2.15.6
pyparsing==3.0.9
pyrsistent==0.19.1
pyrsistent==0.19.2
pytest==7.2.0
pytest-cov==4.0.0
pytest-profiling==1.7.0
Expand All @@ -161,9 +161,9 @@ soupsieve==2.3.2.post1
sphinx==4.3.2 ; python_version < "3.8.0"
sphinx-autobuild==2021.3.14
sphinx-book-theme==0.3.3
sphinx-codeautolink==0.12.0
sphinx-codeautolink==0.12.1
sphinx-comments==0.0.3
sphinx-copybutton==0.5.0
sphinx-copybutton==0.5.1
sphinx-design==0.3.0
sphinx-thebe==0.1.2
sphinx-togglebutton==0.3.2
Expand All @@ -175,7 +175,7 @@ sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sqlalchemy==1.4.42
sqlalchemy==1.4.44
sympy==1.10.1
tabulate==0.9.0
terminado==0.17.0
Expand All @@ -184,22 +184,22 @@ toml==0.10.2
tomli==2.0.1
tomlkit==0.11.6
tornado==6.2
tox==3.27.0
tox==3.27.1
tqdm==4.64.1
traitlets==5.5.0
typed-ast==1.5.4
types-docutils==0.19.1.1
types-pkg-resources==0.1.3
types-requests==2.28.11.2
types-setuptools==65.5.0.2
types-urllib3==1.26.25.1
types-requests==2.28.11.5
types-setuptools==65.6.0.1
types-urllib3==1.26.25.4
typing-extensions==4.4.0 ; python_version < "3.8.0"
urllib3==1.26.12
urllib3==1.26.13
virtualenv==20.15.1 ; python_version < "3.8.0"
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.4.1
wheel==0.37.1
websocket-client==1.4.2
wheel==0.38.4
widgetsnbextension==4.0.3
wrapt==1.14.1
zipp==3.10.0
Expand Down
Loading

0 comments on commit 25f67b7

Please sign in to comment.