Skip to content

Commit

Permalink
update pylint config
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Jan 13, 2025
1 parent db6cd2e commit 758ad4a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ exclude-too-few-public-methods=
ignored-parents=

# Maximum number of arguments for function / method.
max-args=5
max-args=10

# Maximum number of attributes for a class (see R0902).
max-attributes=7
Expand All @@ -302,13 +302,13 @@ max-bool-expr=5
max-branches=12

# Maximum number of locals for function / method body.
max-locals=15
max-locals=16

# Maximum number of parents for a class (see R0901).
max-parents=7

# Maximum number of positional arguments for function / method.
max-positional-arguments=5
max-positional-arguments=10

# Maximum number of public methods for a class (see R0904).
max-public-methods=20
Expand Down Expand Up @@ -438,7 +438,9 @@ disable=raw-checker-failed,
deprecated-pragma,
use-symbolic-message-instead,
use-implicit-booleaness-not-comparison-to-string,
use-implicit-booleaness-not-comparison-to-zero
use-implicit-booleaness-not-comparison-to-zero,
C0114, C0115, C0116, # docstrings
W0212, # by design

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down
3 changes: 1 addition & 2 deletions example.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from opensimplex import OpenSimplex

SEED = 309482037420
print(OpenSimplex(SEED).get_3d(20, 40))
print('2D Noise Sample:', OpenSimplex().get_2d(20, 40))

0 comments on commit 758ad4a

Please sign in to comment.