Skip to content

Commit 4439926

Browse files
committed
Disable automated styling
Now it just checks it and fails on error
1 parent 2c4dd1f commit 4439926

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
poetry install
2323
- name: Run
2424
run: |
25-
poetry run poe style
25+
poetry run poe style-check

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ flake8-bandit = ["-S311"]
7777
isort = "isort --profile black -m 3 ."
7878
autoflake = "autoflake --recursive --in-place --remove-unused-variables ."
7979
black = "black --line-length=79 ."
80+
isort-check = "isort --profile black -m 3 --check-only ."
81+
black-check = "black --check --line-length=79 ."
82+
style-check = ["isort-check", "black-check"]
8083
style = ["isort", "autoflake", "black"]
8184
lint = "flakehell lint"
8285
test = "pytest"

0 commit comments

Comments
 (0)