From ac659ecfa17d82a2a16e603e15ec5a7ec34a8fe0 Mon Sep 17 00:00:00 2001 From: Joel Lefkowitz Date: Tue, 15 Oct 2024 17:43:06 +0100 Subject: [PATCH] Remove twine-check and ignore some flake8 errors (#895) * Remove twine-check and ignore some flake8 errors * Add flake8 ignore tags to tox sections * Bump twine version --- docs/conf.py | 1 - requirements/publish.txt | 2 +- tox.ini | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 9e1259a0..43cc3545 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -82,7 +82,6 @@ # html_theme = 'default' html_theme = "sphinx_rtd_theme" -html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/requirements/publish.txt b/requirements/publish.txt index ade35d85..4aeaa83e 100644 --- a/requirements/publish.txt +++ b/requirements/publish.txt @@ -1,3 +1,3 @@ setuptools-scm==7.0.5 -twine==4.0.1 +twine>=5.0.0 wheel>=0.37.0 diff --git a/tox.ini b/tox.ini index 60b0dee8..22dbda24 100644 --- a/tox.ini +++ b/tox.ini @@ -65,7 +65,6 @@ commands = deps = -r requirements/docs.txt commands = - twine check .tox/dist/* sphinx-build -WnEa -b html docs docs/_build/html [pytest] @@ -76,7 +75,7 @@ addopts = --ignore=node_modules [flake8] max-line-length = 120 exclude = **/migrations/* -ignore = F405,W504,I001,I005 +ignore = E721,F405,I001,I005,W504 [isort] skip = .eggs,.tox,docs,env,venv,node_modules,.git