Skip to content

Commit

Permalink
repin flake8 and misc updates (ethereum#79)
Browse files Browse the repository at this point in the history
* repin flake8, bump tox to >=4.0.0 as that's where whitelist was deprecated, misc updates
  • Loading branch information
pacrob authored Apr 10, 2023
1 parent 96a6759 commit 30cc4d1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
- image: cimg/python:3.11
environment:
TOXENV: py311-core

workflows:
version: 2
test:
Expand Down
2 changes: 1 addition & 1 deletion .project-template/fill_template_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def _find_files(project_root):
path_exclude_pattern = r"\.git($|\/)|venv|_build"
path_exclude_pattern = r"\.git($|\/)|venv|_build|\.tox"
file_exclude_pattern = r"fill_template_vars\.py|\.swp$"
filepaths = []
for dir_path, _dir_names, file_names in os.walk(project_root):
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include LICENSE
include README.md
include requirements-docs.txt

global-include *.pyi

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"pytest-xdist>=2.4.0",
],
"lint": [
"flake8>=5.0.0",
"flake8-bugbear>=22.0.0",
"flake8==6.0.0",
"flake8-bugbear==23.3.23",
"isort>=5.10.1",
"mypy==0.971",
"pydocstyle>=5.0.0",
Expand All @@ -26,7 +26,7 @@
"dev": [
"bumpversion>=0.5.3",
"pytest-watch>=4.1.0",
"tox>=3.18.0",
"tox>=4.0.0",
"wheel",
"twine",
"ipython",
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ multi_line_output=3
profile=black

[flake8]
max-line-length= 88
exclude= venv*,.tox,docs,build
extend-ignore= E203
max-line-length=88
exclude=venv*,.tox,docs,build
extend-ignore=E203

[testenv]
usedevelop=True
commands=
core: pytest {posargs:tests/core}
docs: make check-docs
basepython =
basepython=
docs: python
py37: python3.7
py38: python3.8
Expand Down

0 comments on commit 30cc4d1

Please sign in to comment.