-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ruff, test latest OS and bump setuptools (#2588)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
c8da7ff
commit 025e96f
Showing
118 changed files
with
1,027 additions
and
1,004 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
py: | ||
- "3.12.0-alpha.7" | ||
- "3.12.0-beta.2" | ||
- "3.11" | ||
- "3.10" | ||
- "3.9" | ||
|
@@ -29,12 +29,12 @@ jobs: | |
- pypy-3.8 | ||
- pypy-3.7 | ||
os: | ||
- ubuntu-22.04 | ||
- macos-12 | ||
- windows-2022 | ||
- ubuntu-latest | ||
- macos-latest | ||
- windows-latest | ||
include: | ||
- { os: macos-12, py: "[email protected]" } | ||
- { os: macos-12, py: "[email protected]" } | ||
- { os: macos-latest, py: "[email protected]" } | ||
- { os: macos-latest, py: "[email protected]" } | ||
steps: | ||
- uses: taiki-e/install-action@cargo-binstall | ||
- name: Install OS dependencies | ||
|
@@ -100,17 +100,17 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu-22.04 | ||
- windows-2022 | ||
- ubuntu-latest | ||
- windows-latest | ||
tox_env: | ||
- dev | ||
- docs | ||
- readme | ||
- upgrade | ||
- zipapp | ||
exclude: | ||
- { os: windows-2022, tox_env: readme } | ||
- { os: windows-2022, tox_env: docs } | ||
- { os: windows-latest, tox_env: readme } | ||
- { os: windows-latest, tox_env: docs } | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,78 +2,33 @@ repos: | |
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-ast | ||
- id: check-builtin-literals | ||
- id: check-docstring-first | ||
- id: check-merge-conflict | ||
- id: check-yaml | ||
- id: check-toml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/asottile/add-trailing-comma | ||
rev: v2.4.0 | ||
hooks: | ||
- id: add-trailing-comma | ||
args: [--py36-plus] | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v3.3.1 | ||
hooks: | ||
- id: pyupgrade | ||
args: ["--py37-plus"] | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/psf/black | ||
rev: 23.3.0 | ||
hooks: | ||
- id: black | ||
args: [--safe] | ||
- repo: https://github.com/asottile/blacken-docs | ||
rev: 1.13.0 | ||
hooks: | ||
- id: blacken-docs | ||
additional_dependencies: [black==23.3] | ||
- repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: v1.10.0 | ||
hooks: | ||
- id: rst-backticks | ||
- repo: https://github.com/tox-dev/tox-ini-fmt | ||
rev: "1.3.0" | ||
hooks: | ||
- id: tox-ini-fmt | ||
args: ["-p", "fix"] | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 6.0.0 | ||
- repo: https://github.com/tox-dev/pyproject-fmt | ||
rev: "0.11.2" | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: | ||
- flake8-bugbear==23.3.23 | ||
- flake8-comprehensions==3.12 | ||
- flake8-pytest-style==1.7.2 | ||
- flake8-spellcheck==0.28 | ||
- flake8-unused-arguments==0.0.13 | ||
- flake8-noqa==1.3.1 | ||
- pep8-naming==0.13.3 | ||
- flake8-pyproject==1.2.3 | ||
- id: pyproject-fmt | ||
additional_dependencies: ["tox>=4.6"] | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: "v2.7.1" | ||
rev: "v3.0.0-alpha.9-for-vscode" | ||
hooks: | ||
- id: prettier | ||
additional_dependencies: | ||
- [email protected] | ||
- "@prettier/[email protected]" | ||
args: ["--print-width=120", "--prose-wrap=always"] | ||
- repo: https://github.com/igorshubovych/markdownlint-cli | ||
rev: v0.33.0 | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: "v0.0.272" | ||
hooks: | ||
- id: markdownlint | ||
- id: ruff | ||
args: [--fix, --exit-non-zero-on-fix] | ||
- repo: meta | ||
hooks: | ||
- id: check-hooks-apply | ||
- id: check-useless-excludes | ||
- repo: https://github.com/tox-dev/pyproject-fmt | ||
rev: "0.9.2" | ||
hooks: | ||
- id: pyproject-fmt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Upgrade embedded wheels: | ||
|
||
* setuptools to ``67.8.0`` from ``67.7.2`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.