Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
command: |
mkdir -p test-reports/safety test-reports/mypy test-reports/pytest
poetry run black . --check
poetry run isort
poetry run isort . --check
poetry run safety check --json > test-reports/safety/results.json
poetry run mypy openapi_python_client --junit-xml=test-reports/mypy/results.xml
poetry run pytest --junitxml=test-reports/pytest/results.xml --cov=openapi_python_client tests
Expand Down
6 changes: 1 addition & 5 deletions openapi_python_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,7 @@ def update(self) -> None:

def _reformat(self) -> None:
subprocess.run(
"isort --recursive --apply",
cwd=self.project_dir,
shell=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
"isort .", cwd=self.project_dir, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
)
subprocess.run("black .", cwd=self.project_dir, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)

Expand Down
Loading