Skip to content
This repository was archived by the owner on Feb 17, 2021. It is now read-only.

Commit ca209c5

Browse files
author
Thiago C. D'Ávila
authored
Merge pull request #26 from staticdev/imports
new import checks
2 parents bc3551d + e7cc6e7 commit ca209c5

4 files changed

Lines changed: 5 additions & 29 deletions

File tree

.flake8

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
[flake8]
2-
select = ANN,B,B9,BLK,C,D,DAR,E,F,I,S,W
2+
select = ANN,B,B9,BLK,C,D,DAR,E,F,S,W
33
ignore = E203,E501,W503
44
max-line-length = 80
55
max-complexity = 10
6-
application-import-names = toml_validator,tests
7-
import-order-style = google
86
docstring-convention = google
97
per-file-ignores = tests/*:S101

noxfile.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,7 @@ def lint(session: Session) -> None:
4848
"""Lint using flake8."""
4949
args = session.posargs or locations
5050
install_with_constraints(
51-
session,
52-
"flake8",
53-
"flake8-bandit",
54-
"flake8-black",
55-
"flake8-bugbear",
56-
"flake8-import-order",
51+
session, "flake8", "flake8-bandit", "flake8-black", "flake8-bugbear",
5752
)
5853
session.run("flake8", *args)
5954

poetry.lock

Lines changed: 3 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ flake8 = "^3.8.1"
2323
flake8-bandit = "^2.1.2"
2424
flake8-black = "^0.1.1"
2525
flake8-bugbear = "^20.1.4"
26-
flake8-import-order = "^0.18.1"
2726
safety = "^1.8.5"
2827
mypy = "^0.770"
2928
codecov = "^2.0.22"

0 commit comments

Comments
 (0)