diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1a8c765..a014916 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/poetry.lock b/poetry.lock index df8e09b..da607eb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -280,6 +280,9 @@ optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" version = "4.3.9" +[package.dependencies] +toml = "*" + [[package]] category = "dev" description = "An autocompletion tool for Python that can be used for text editors." @@ -745,7 +748,7 @@ python-versions = "*" version = "0.1.7" [metadata] -content-hash = "faa636e7ba9f921db1c653ad642e38e87f9cb0ec976e99a7927fc07fe125b692" +content-hash = "3c2679449e67f0a46720a6ba4db1cff86f9ba1f605cd06da02fd5a47d7e16487" python-versions = "^3.6" [metadata.hashes] diff --git a/pyproject.toml b/pyproject.toml index e3c4615..4d36d61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"