Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup fermi.py and astroeqs.py #21

Open
xshaokun opened this issue Mar 10, 2023 · 0 comments
Open

Cleanup fermi.py and astroeqs.py #21

xshaokun opened this issue Mar 10, 2023 · 0 comments
Labels
bug Something isn't working pytools

Comments

@xshaokun
Copy link
Owner

Currently, fermi.py and astroeqs.py are ignored by pre-commit hooks to avoiding raising errors by ruff. They should be considered to be archived or be cleaned up to fix the part that raising errors.

ruff.....................................................................Failed
- hook id: ruff
- exit code: 1

pytools/astroeqs.py:133:26: F821 Undefined name `P`
pytools/astroeqs.py:133:30: F821 Undefined name `T`
pytools/fermi.py:629:14: F821 Undefined name `data`
pytools/fermi.py:637:42: F821 Undefined name `times`
pytools/fermi.py:637:48: F821 Undefined name `kprint`
pytools/fermi.py:647:23: F821 Undefined name `ylabel`
pytools/fermi.py:648:35: F821 Undefined name `ylabel`
pytools/fermi.py:653:20: F821 Undefined name `data`
pytools/fermi.py:656:34: F821 Undefined name `var`
pytools/fermi.py:656:39: F821 Undefined name `kprint`
pytools/fermi.py:790:30: F821 Undefined name `R`
pytools/fermi.py:795:34: F821 Undefined name `R`
pytools/fermi.py:795:37: F821 Undefined name `z`
pytools/fermi.py:797:34: F821 Undefined name `R`
pytools/fermi.py:797:37: F821 Undefined name `z`
pytools/fermi.py:800:49: F821 Undefined name `times`
pytools/fermi.py:800:59: F821 Undefined name `kprint`
pytools/fermi.py:814:23: F821 Undefined name `clabel`
pytools/fermi.py:816:45: F821 Undefined name `clabel`
pytools/fermi.py:818:59: F821 Undefined name `clabel`
pytools/fermi.py:821:20: F821 Undefined name `data`
pytools/fermi.py:824:35: F821 Undefined name `var`
pytools/fermi.py:824:40: F821 Undefined name `kprint`
@xshaokun xshaokun added bug Something isn't working pytools labels Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pytools
Projects
None yet
Development

No branches or pull requests

1 participant