Skip to content

Commit

Permalink
ci: Fix missing pyproject extra for isort
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Mar 1, 2019
1 parent 0e59409 commit 62eeed7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ check-black:
check-isort:
<<: *quality
before_script:
- pip install isort
- pip install isort[pyproject]
script: isort -c -rc src/ tests/

check-flake8:
Expand Down
5 changes: 4 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ bandit = "^1.5"
black = { version = "*", allows-prereleases = true }
flake8 = "^3.6"
ipython = "^7.2"
isort = "^4.3"
isort = { version = "^4.3", extras = ["pyproject"] }
jinja2-cli = { git = "https://github.com/mattrobenolt/jinja2-cli.git" }
pytest = "^4.3"
pytest-cov = "^2.6"
Expand Down

0 comments on commit 62eeed7

Please sign in to comment.