Skip to content

Commit

Permalink
Update to isort 5 and tone down linting
Browse files Browse the repository at this point in the history
  • Loading branch information
srstevenson committed Oct 4, 2020
1 parent e629307 commit d87bd40
Show file tree
Hide file tree
Showing 7 changed files with 264 additions and 773 deletions.
4 changes: 1 addition & 3 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
[flake8]
per-file-ignores =
noxfile.py: D001
test/test_xdg.py: D001
ignore = E501
3 changes: 0 additions & 3 deletions .pylintrc

This file was deleted.

4 changes: 1 addition & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ def pylint(session):
@nox.session
def isort(session):
"""Check import ordering with isort."""
session.run(
"isort", "--check-only", "--recursive", *SOURCES, external=True
)
session.run("isort", "--check", *SOURCES, external=True)


@nox.session
Expand Down
Loading

0 comments on commit d87bd40

Please sign in to comment.