Skip to content

Commit

Permalink
Adds --baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Mar 23, 2020
1 parent 505837c commit bc02dfc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_violations/test_docs.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
from wemake_python_styleguide.options.config import Configuration

_IGNORED_OPTIONS = frozenset((
'--baseline',
))


def test_all_violations_are_documented(all_module_violations):
"""Ensures that all violations are documented."""
Expand Down Expand Up @@ -43,6 +47,7 @@ def test_configuration(all_violations):
option_listed = {
option.long_option_name: False
for option in Configuration._options # noqa: WPS437
if option.long_option_name not in _IGNORED_OPTIONS
}

for violation in all_violations:
Expand Down

0 comments on commit bc02dfc

Please sign in to comment.