Skip to content

Commit 50ed310

Browse files
committed
Exclude .venv from format.sh
1 parent 7d1784f commit 50ed310

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎.flake8‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[flake8]
22
ignore = E501,E402,E275
3+
extend-exclude = .venv,venv

‎format.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
poetry run autopep8 .
44
poetry run flake8 .
55

6-
output=$(find . -type f -name '*.py' -exec awk '
6+
output=$(find . -type d \( -name .venv -o -name venv \) -prune -o -type f -name '*.py' -exec awk '
77
/^[ \t]*@retry[ \t]*$/ {
88
getline a
99
if (a ~ /^[ \t]*@logEntryExit[ \t]*$/) {

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ build-backend = "poetry.masonry.api"
2929
ignore = "E501,E402,E275"
3030
in-place = true
3131
recursive = true
32+
exclude = ".svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,.venv,venv"

0 commit comments

Comments
 (0)