Skip to content

Commit

Permalink
infra: have linters run a read-only check of code (#747)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbeCoull authored Oct 18, 2023
1 parent b814970 commit 9b43e72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ jobs:
pip install -e .[test]
- name: Run code format checks
run: |
black --check .
flake8 --enable-extensions=BCS src
tox -e linters_check
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ testpaths = test/unit_tests
line_length = 100
multi_line_output = 3
include_trailing_comma = true
profile = black

[flake8]
ignore =
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ skip_install = true
deps =
black
commands =
black --check . {posargs}
black --check ./ {posargs}

[testenv:docs]
basepython = python3
Expand Down

0 comments on commit 9b43e72

Please sign in to comment.