Skip to content

Commit

Permalink
ci: add isort to lint_requirements.txt and run it in check-only mode …
Browse files Browse the repository at this point in the history
…on travis
  • Loading branch information
neutrinoceros committed May 16, 2020
1 parent 519e72a commit 8946ed0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ jobs:
python: 3.6
script: flake8 yt/

- stage: Lint
python: 3.6
script: isort -rc . --check-only

- stage: tests
name: "Python: 3.6 Minimal Dependency Unit Tests"
python: 3.6
Expand Down
3 changes: 2 additions & 1 deletion tests/lint_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
flake8==3.6.0
mccabe==0.6.1
pycodestyle==2.4.0
pyflakes==2.0.0
pyflakes==2.0.0
isort==4.3.21

0 comments on commit 8946ed0

Please sign in to comment.