Skip to content

Commit

Permalink
- add flake8 changes to .meta.toml and update templates
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed May 27, 2024
1 parent 6653800 commit 29e569a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ jobs:
if: matrix.python-version == '3.13'
run: |
pip install -U pip
pip install -U setuptools wheel twine
pip install -U "setuptools<69" wheel twine
- name: Install Build Dependencies
if: matrix.python-version != '3.13'
run: |
pip install -U pip
pip install -U setuptools wheel twine
pip install -U "setuptools<69" wheel twine
- name: Build zope.interface (macOS x86_64, Python 3.8+)
if: >
Expand Down
13 changes: 12 additions & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/c-code
[meta]
template = "c-code"
commit-id = "ae0a9480"
commit-id = "7ec24731"

[python]
with-appveyor = true
Expand Down Expand Up @@ -30,6 +30,17 @@ coverage-additional = [
"parallel_show_output = true",
]

[flake8]
additional-config = [
"ignore =",
" # module level import not at top of file: we are avoiding cycles",
" E402,",
" # import not used: we are publishing APIs, at least from __init__.py",
" F401,",
" # line break after binary operator",
" W504",
]

[coverage]
fail-under = 99

Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ envlist =
usedevelop = true
pip_pre = py313: true
deps =
setuptools < 69
py37: urllib3 < 2
Sphinx
setenv =
Expand Down

0 comments on commit 29e569a

Please sign in to comment.