Skip to content

Commit 4e812bd

Browse files
Check only src/ and test/ directories in GitHub workflows
1 parent 92f66dc commit 4e812bd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/black.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
python -m pip install black
2727
- name: Check code formatting with black
2828
run: |
29-
black -v -l 100 --check .
29+
black -v -l 100 --check src/ test/

.github/workflows/flake8.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
python -m pip install flake8
2727
- name: Lint with flake8
2828
run: |
29-
flake8 . -v --count --max-line-length=100 --max-complexity=10 --per-file-ignores="__init__.py:F401" --show-source --statistics
29+
flake8 src/ test/ -v --count --max-line-length=100 --max-complexity=10 --per-file-ignores="__init__.py:F401" --show-source --statistics

.github/workflows/isort.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
python -m pip install isort
2727
- name: Check imports organization with isort
2828
run: |
29-
isort -v --profile black -l 100 --check .
29+
isort -v --profile black -l 100 --check src/ test/

0 commit comments

Comments
 (0)