Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
if: steps.changes.outputs.code == 'true'
uses: "actions/setup-python@v5"
with:
python-version: "3.8"
python-version: "3.9"

- name: Install dependencies 🔧
if: steps.changes.outputs.code == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
if: steps.changes.outputs.code == 'true'
uses: "actions/setup-python@v5"
with:
python-version: "3.8"
python-version: "3.9"

- name: Install dependencies 🔧
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/octocheese.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
schedule:
- cron: 0 12 * * *

permissions:
contents: write

jobs:
Run:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/asottile/pyupgrade
rev: v2.12.0
rev: v3.3.0
hooks:
- id: pyupgrade
args:
- --py36-plus
- --py37-plus
- --keep-runtime-typing

- repo: https://github.com/Lucas-C/pre-commit-hooks
Expand Down
5 changes: 3 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ build:
post_create_environment:
- pip install .
post_install:
- pip install sphinxcontrib-applehelp==1.0.4 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5
- pip install sphinxcontrib-applehelp==1.0.4 sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ autodoc_exclude_members = [
]

[tool.mypy]
python_version = "3.8"
python_version = "3.9"
namespace_packages = true
check_untyped_defs = true
warn_unused_ignores = true
Expand Down
2 changes: 1 addition & 1 deletion pyproject_devenv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def create(self) -> int:
args.append("--verbose")
if self.verbosity >= 2:
args.append("--verbose")

if self.python:
args.append("--python")
args.append(self.python)
Expand Down
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ requires =
[envlists]
test = py37, py38, py39, py310, py311, py312, py313, pypy37, pypy38, pypy39
qa = mypy, lint
cov = py38, coverage
cov = py39, coverage

[testenv]
setenv =
Expand All @@ -68,7 +68,6 @@ download = True
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
UNSAFE_PYO3_SKIP_VERSION_CHECK=1

[testenv:py312]
download = True
Expand Down Expand Up @@ -103,7 +102,7 @@ commands =
check-wheel-contents dist/

[testenv:lint]
basepython = python3.8
basepython = python3.9
changedir = {toxinidir}
ignore_errors = True
skip_install = True
Expand All @@ -123,6 +122,7 @@ deps =
flake8-sphinx-links>=0.0.4
flake8-strftime>=0.1.1
flake8-typing-imports>=1.10.0
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
Expand All @@ -133,15 +133,15 @@ deps =
commands = python3 -m flake8_rst_docstrings_sphinx pyproject_devenv tests --allow-toolbox {posargs}

[testenv:perflint]
basepython = python3.8
basepython = python3.9
changedir = {toxinidir}
ignore_errors = True
skip_install = True
deps = perflint
commands = python3 -m perflint pyproject_devenv {posargs}

[testenv:mypy]
basepython = python3.8
basepython = python3.9
ignore_errors = True
changedir = {toxinidir}
deps =
Expand All @@ -150,15 +150,15 @@ deps =
commands = mypy pyproject_devenv tests {posargs}

[testenv:pyup]
basepython = python3.8
basepython = python3.9
skip_install = True
ignore_errors = True
changedir = {toxinidir}
deps = pyupgrade-directories
commands = pyup_dirs pyproject_devenv tests --py36-plus --recursive

[testenv:coverage]
basepython = python3.8
basepython = python3.9
skip_install = True
ignore_errors = True
whitelist_externals = /bin/bash
Expand Down
Loading