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

Commit 86ef053

Browse files
author
Thiago C. D'Ávila
authored
Merge pull request #52 from staticdev/imports
flake8-import-order
2 parents 870f1a2 + 796b4ad commit 86ef053

4 files changed

Lines changed: 3 additions & 27 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 = humanizer_portugues,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
@@ -50,12 +50,7 @@ def lint(session: Session) -> None:
5050
"""Lint using flake8."""
5151
args = session.posargs or locations
5252
install_with_constraints(
53-
session,
54-
"flake8",
55-
"flake8-bandit",
56-
"flake8-black",
57-
"flake8-bugbear",
58-
"flake8-import-order",
53+
session, "flake8", "flake8-bandit", "flake8-black", "flake8-bugbear",
5954
)
6055
session.run("flake8", *args)
6156

poetry.lock

Lines changed: 1 addition & 17 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
@@ -27,7 +27,6 @@ flake8 = "^3.8.1"
2727
flake8-bandit = "^2.1.2"
2828
flake8-black = "^0.1.1"
2929
flake8-bugbear = "^20.1.4"
30-
flake8-import-order = "^0.18.1"
3130
safety = "^1.9.0"
3231
mypy = "^0.770"
3332
pytest = "^5.4.2"

0 commit comments

Comments
 (0)