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

Evaluate if there is possible solution for pylint on astropy #621

Open
m-aguena opened this issue Mar 28, 2024 · 1 comment
Open

Evaluate if there is possible solution for pylint on astropy #621

m-aguena opened this issue Mar 28, 2024 · 1 comment

Comments

@m-aguena
Copy link
Collaborator

Pylint was failing on astropy v6.0, with errors of type:

clmm/support/mock_data.py:418:33: E1101: Module 'astropy.units' has no 'deg' member; maybe 'dex'? (no-member)

This is a known error, and a discussion can be found here.

The implemented solution on PR #532 was to add an argument at .github/workflows/build_check.yml:

pylint clmm --ignored-classes=astropy.units

This should be re-evaluated in the future.

@hsinfan1996
Copy link
Collaborator

It seems that pylint --generated-member= is also a solution, but I am not sure if it is a better one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants