Skip to content

Commit a37e97d

Browse files
Bump isort from 4.3.21 to 5.0.5 (#78)
* Bump isort from 4.3.21 to 5.0.5 Bumps [isort](https://github.com/timothycrosley/isort) from 4.3.21 to 5.0.5. - [Release notes](https://github.com/timothycrosley/isort/releases) - [Changelog](https://github.com/timothycrosley/isort/blob/develop/CHANGELOG.md) - [Commits](PyCQA/isort@4.3.21...5.0.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Dylan Anthony <contact@dylananthony.com>
1 parent bdaed29 commit a37e97d

File tree

6 files changed

+101
-106
lines changed

6 files changed

+101
-106
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
command: |
2828
mkdir -p test-reports/safety test-reports/mypy test-reports/pytest
2929
poetry run black . --check
30-
poetry run isort
30+
poetry run isort . --check
3131
poetry run safety check --json > test-reports/safety/results.json
3232
poetry run mypy openapi_python_client --junit-xml=test-reports/mypy/results.xml
3333
poetry run pytest --junitxml=test-reports/pytest/results.xml --cov=openapi_python_client tests

openapi_python_client/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,7 @@ def update(self) -> None:
112112

113113
def _reformat(self) -> None:
114114
subprocess.run(
115-
"isort --recursive --apply",
116-
cwd=self.project_dir,
117-
shell=True,
118-
stdout=subprocess.PIPE,
119-
stderr=subprocess.PIPE,
115+
"isort .", cwd=self.project_dir, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
120116
)
121117
subprocess.run("black .", cwd=self.project_dir, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
122118

0 commit comments

Comments
 (0)