diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a7d6bec..714c04b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,7 +39,7 @@ jobs: python-version: ${{ matrix.pyversion }} cache: pip cache-dependency-path: dev-deps/test.txt - - run: python -m pip install -U pip setuptools wheel tox + - run: python -m pip install -U pip setuptools wheel tox==4.0.5 - name: cache .hypothesis dir uses: actions/cache@v3.0.11 with: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6685b47..5b15842 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: exclude: setup.py|docs/conf.py|tests - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.156 + rev: v0.0.172 hooks: - id: ruff diff --git a/dev-deps/dev.txt b/dev-deps/dev.txt index 894b103..51d7aef 100644 --- a/dev-deps/dev.txt +++ b/dev-deps/dev.txt @@ -6,35 +6,40 @@ # build==0.9.0 # via pip-tools +cachetools==5.2.0 + # via tox +chardet==5.1.0 + # via tox click==8.1.3 # via pip-tools +colorama==0.4.6 + # via tox distlib==0.3.6 # via virtualenv -filelock==3.8.0 +filelock==3.8.2 # via # tox # virtualenv -packaging==21.3 +packaging==22.0 # via # build + # pyproject-api # tox pep517==0.13.0 # via build pip-tools==6.11.0 # via bidict (pyproject.toml) -platformdirs==2.5.4 - # via virtualenv +platformdirs==2.6.0 + # via + # tox + # virtualenv pluggy==1.0.0 # via tox -py==1.11.0 +pyproject-api==1.2.1 # via tox -pyparsing==3.0.9 - # via packaging -six==1.16.0 - # via tox -tox==3.27.1 +tox==4.0.5 # via bidict (pyproject.toml) -virtualenv==20.17.0 +virtualenv==20.17.1 # via tox wheel==0.38.4 # via pip-tools diff --git a/dev-deps/docs.txt b/dev-deps/docs.txt index e14c79e..eedeae9 100644 --- a/dev-deps/docs.txt +++ b/dev-deps/docs.txt @@ -10,13 +10,13 @@ babel==2.11.0 # via sphinx beautifulsoup4==4.11.1 # via furo -certifi==2022.9.24 +certifi==2022.12.7 # via requests charset-normalizer==2.1.1 # via requests docutils==0.19 # via sphinx -furo==2022.9.29 +furo==2022.12.7 # via bidict (pyproject.toml) idna==3.4 # via requests @@ -26,14 +26,12 @@ jinja2==3.1.2 # via sphinx markupsafe==2.1.1 # via jinja2 -packaging==21.3 +packaging==22.0 # via sphinx pygments==2.13.0 # via # furo # sphinx -pyparsing==3.0.9 - # via packaging pytz==2022.6 # via babel requests==2.28.1 diff --git a/dev-deps/lint.txt b/dev-deps/lint.txt index de0e74a..ebcf053 100644 --- a/dev-deps/lint.txt +++ b/dev-deps/lint.txt @@ -8,13 +8,13 @@ cfgv==3.3.1 # via pre-commit distlib==0.3.6 # via virtualenv -filelock==3.8.0 +filelock==3.8.2 # via virtualenv identify==2.5.9 # via pre-commit nodeenv==1.7.0 # via pre-commit -platformdirs==2.5.4 +platformdirs==2.6.0 # via virtualenv pre-commit==2.20.0 # via bidict (pyproject.toml) @@ -22,7 +22,7 @@ pyyaml==6.0 # via pre-commit toml==0.10.2 # via pre-commit -virtualenv==20.17.0 +virtualenv==20.17.1 # via pre-commit # The following packages are considered to be unsafe in a requirements file: diff --git a/dev-deps/test.txt b/dev-deps/test.txt index 79a4756..c2959ab 100644 --- a/dev-deps/test.txt +++ b/dev-deps/test.txt @@ -12,7 +12,7 @@ attrs==22.1.0 # pytest babel==2.11.0 # via sphinx -certifi==2022.9.24 +certifi==2022.12.7 # via requests charset-normalizer==2.1.1 # via requests @@ -36,7 +36,7 @@ jinja2==3.1.2 # via sphinx markupsafe==2.1.1 # via jinja2 -packaging==21.3 +packaging==22.0 # via # pytest # sphinx @@ -54,8 +54,6 @@ pygaljs==1.0.2 # via pytest-benchmark pygments==2.13.0 # via sphinx -pyparsing==3.0.9 - # via packaging pytest==7.2.0 # via # bidict (pyproject.toml) diff --git a/docs/_static/custom.css b/docs/_static/custom.css deleted file mode 100644 index 4a3b785..0000000 --- a/docs/_static/custom.css +++ /dev/null @@ -1 +0,0 @@ -aside.footnote > span { float:left; padding-right: 0.25rem; } // https://github.com/pradyunsg/furo/discussions/489#discussioncomment-3345304 diff --git a/docs/conf.py b/docs/conf.py index 0d1c41d..b778b3d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -165,7 +165,7 @@ html_static_path = ['_static'] #html_extra_path = [] # https://docs.readthedocs.io/en/stable/guides/adding-custom-css.html#adding-custom-css-or-javascript-to-sphinx-documentation -html_css_files = ['custom.css'] +# html_css_files = ['custom.css'] html_js_files = ['custom.js'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, diff --git a/tox.ini b/tox.ini index d3ccfb3..f811480 100644 --- a/tox.ini +++ b/tox.ini @@ -10,6 +10,7 @@ isolated_build = true [testenv] deps = -r dev-deps/test.txt +allowlist_externals = ./run_tests.py commands = ./run_tests.py [testenv:lint]