Skip to content

Commit

Permalink
add exclude docs to flake8 (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
slabasan committed Aug 9, 2022
1 parent d3de1da commit 626b3d3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,14 @@ max-line-length = 88
select = C,E,F,W,B,B950
ignore = E501,W503,E203
builtins = IPython
exclude =
build
.eggs
.git
.hg
.mypy_cache
.tox
.venv
_build
buck-out
dist
6 changes: 5 additions & 1 deletion .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ jobs:
if: ${{ matrix.python-version == 3.7 }}
run: |
black --diff --check .
flake8
echo ${PWD}
for file in $(find . -name '*.py'); do
echo "Checking now: $file"
flake8 --isolated --exclude=build,.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.nox,.eggs,*.egg --verbose "$file"
done
- name: Check License Headers
run: |
Expand Down

0 comments on commit 626b3d3

Please sign in to comment.