Skip to content

Commit

Permalink
Simplify flake8 config
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Jun 4, 2023
1 parent 977fee7 commit 2070e3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 19 deletions.
19 changes: 2 additions & 17 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,5 @@
# E: style errors
# W: style warnings
# C: complexity
# F401: module imported but unused
# F403: import *
# F811: redefinition of unused `name` from line `N`
# F841: local variable assigned but never used
# E402: module level import not at top of file
# I100: Import statements are in the wrong order
# I101: Imported names are in the wrong order. Should be
ignore = E, C, W, F401, F403, F811, F841, E402, I100, I101, D400
builtins = c, get_config
exclude =
.cache,
.github,
onbuild,
scripts,
share,
tools,
setup.py
# D: docstring warnings (unused pydocstyle extension)
ignore = E, C, W, D
2 changes: 1 addition & 1 deletion ldapauthenticator/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ldapauthenticator.ldapauthenticator import LDAPAuthenticator
from ldapauthenticator.ldapauthenticator import LDAPAuthenticator # noqa

# __version__ should be updated using tbump, based on configuration in
# pyproject.toml, according to instructions in RELEASE.md.
Expand Down
1 change: 0 additions & 1 deletion ldapauthenticator/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import inspect
import os

import pytest
Expand Down

0 comments on commit 2070e3e

Please sign in to comment.