Skip to content

Commit

Permalink
Fix nested-class-whitelist default value (wemake-services#1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
n1kolasM committed Dec 27, 2019
1 parent f39e878 commit 8be9b40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ We used to have incremental versioning before `0.1.0`.

- Fixes supported python versions in PyPI to be `3.6` and `3.7`
- Fix false positive ImplicitYieldFromViolation for async functions #1057
- Fixes nested-class-whitelist option default value for flake8 prior 3.7.8 #1093

### Misc

Expand Down
2 changes: 1 addition & 1 deletion wemake_python_styleguide/options/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
MAX_NOQA_COMMENTS: Final = 10 # guessed

#: List of nested classes' names we allow to use.
NESTED_CLASSES_WHITELIST: Final = frozenset((
NESTED_CLASSES_WHITELIST: Final = tuple((
'Meta', # django forms, models, drf, etc
'Params', # factoryboy specific
))
Expand Down

0 comments on commit 8be9b40

Please sign in to comment.