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

Allow more attributes #62

Merged
merged 2 commits into from
Jul 12, 2024
Merged

Allow more attributes #62

merged 2 commits into from
Jul 12, 2024

Conversation

benedikt-voelkel
Copy link
Collaborator

E.g. for classes, now up to 20 attributes are allowed.

E.g. for classes, now up to 20 attributes are allowed.
@benedikt-voelkel
Copy link
Collaborator Author

@mconcas of course we don't have to go crazy with the number of instance attributes, but I think we should allow more than 10.
Another option would be to disable this check altogether for pylint.

As you can see, there is #61 where it complains due to 11 instance attributes.
However, I think it should be okay.

Do you have a strong opinion on this?

@benedikt-voelkel
Copy link
Collaborator Author

In a next step, I will tackle these pytest issues.
Once done, we can discuss #61

@benedikt-voelkel
Copy link
Collaborator Author

@mconcas I moved now to the correct numpy.nan instead of previously using the alias numpy.NAN. Don't know why I did that in the first place...

@mconcas mconcas merged commit 7b1eb09 into master Jul 12, 2024
6 checks passed
@mconcas
Copy link
Collaborator

mconcas commented Jul 12, 2024

Hi @benedikt-voelkel , no objections with the number of args, let's unblock #61

@benedikt-voelkel benedikt-voelkel deleted the benedikt-voelkel-patch-1 branch July 12, 2024 11:02
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

Successfully merging this pull request may close these issues.

2 participants