-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT: implement
perform_cached_doit()
(#333)
* DOC: show expression unfolding with `perform_cached_doit` * DX: activate `pyright` strict checking mode * FIX: implement stable hashing for `EnergyDependentWidth` * MAINT: fix indent `.flake8` config * MAINT: sort options in `tox.ini` alphabetically * MAINT: set `PYTHONHASHSEED=0` in Conda and tox environments
- Loading branch information
Showing
14 changed files
with
327 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,64 @@ | ||
[flake8] | ||
application-import-names = | ||
ampform | ||
ampform | ||
filename = | ||
./docs/*.py | ||
./src/*.py | ||
./tests/*.py | ||
./docs/*.py | ||
./src/*.py | ||
./tests/*.py | ||
exclude = | ||
**/__pycache__ | ||
**/_build | ||
*.pyi | ||
/typings/** | ||
**/__pycache__ | ||
**/_build | ||
*.pyi | ||
/typings/** | ||
ignore = | ||
# False positive with attribute docstrings | ||
B018 | ||
# https://github.com/psf/black#slices | ||
E203 | ||
# allowed by black | ||
E231 | ||
# https://github.com/psf/black#line-length | ||
E501 | ||
# should be possible to use {} in latex strings | ||
FS003 | ||
# block quote ends without a blank line (black formatting) | ||
RST201 | ||
# missing pygments | ||
RST299 | ||
# unexpected indentation (related to google style docstring) | ||
RST301 | ||
# false-positive error in math directive | ||
RST307 | ||
# enforce type ignore with mypy error codes (combined --extend-select=TI100) | ||
TI1 | ||
# https://github.com/psf/black#line-breaks--binary-operators | ||
W503 | ||
# False positive with attribute docstrings | ||
B018 | ||
# https://github.com/psf/black#slices | ||
E203 | ||
# allowed by black | ||
E231 | ||
# https://github.com/psf/black#line-length | ||
E501 | ||
# should be possible to use {} in latex strings | ||
FS003 | ||
# block quote ends without a blank line (black formatting) | ||
RST201 | ||
# missing pygments | ||
RST299 | ||
# unexpected indentation (related to google style docstring) | ||
RST301 | ||
# false-positive error in math directive | ||
RST307 | ||
# enforce type ignore with mypy error codes (combined --extend-select=TI100) | ||
TI1 | ||
# https://github.com/psf/black#line-breaks--binary-operators | ||
W503 | ||
extend-select = | ||
TI100 | ||
TI100 | ||
per-file-ignores = | ||
# unused imports for backward compatibility | ||
src/ampform/dynamics/__init__.py:F401 | ||
# unused imports for backward compatibility | ||
src/ampform/dynamics/__init__.py:F401 | ||
tests/sympy/test_caching.py:C408 | ||
radon-max-cc = 8 | ||
radon-no-assert = True | ||
rst-roles = | ||
attr | ||
cite | ||
class | ||
doc | ||
download | ||
eq | ||
file | ||
func | ||
meth | ||
mod | ||
pdg-review | ||
ref | ||
term | ||
attr | ||
cite | ||
class | ||
doc | ||
download | ||
eq | ||
file | ||
func | ||
meth | ||
mod | ||
pdg-review | ||
ref | ||
term | ||
rst-directives = | ||
autolink-preface | ||
automethod | ||
deprecated | ||
envvar | ||
exception | ||
seealso | ||
autolink-preface | ||
automethod | ||
deprecated | ||
envvar | ||
exception | ||
seealso |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
name: pytest | ||
env: | ||
PYTHONHASHSEED: "0" | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ dependencies: | |
- | | ||
-c .constraints/py3.8.txt | ||
-e .[dev] | ||
variables: | ||
PYTHONHASHSEED: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.