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 837e5e3
Show file tree
Hide file tree
Showing 2 changed files with 17 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
7 changes: 6 additions & 1 deletion .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,12 @@ jobs:
if: ${{ matrix.python-version == 3.7 }}
run: |
black --diff --check .
flake8
echo ${PWD}
flake8 --isolated --exclude=build,.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.nox,.eggs,*.egg --verbose
#for file in $(find . -name '*.py'); do
# echo "Checking now: $file"
# flake8 "$file"
#done
- name: Check License Headers
run: |
Expand Down

0 comments on commit 837e5e3

Please sign in to comment.