Skip to content

Commit 632086b

Browse files
committed
# Conflicts: # ruff.toml
2 parents 5ad8291 + 9a81db3 commit 632086b

File tree

6 files changed

+7
-31
lines changed

6 files changed

+7
-31
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ env:
2828

2929
# Suppress noisy pip warnings
3030
PIP_DISABLE_PIP_VERSION_CHECK: 'true'
31-
PIP_NO_PYTHON_VERSION_WARNING: 'true'
3231
PIP_NO_WARN_SCRIPT_LOCATION: 'true'
3332

3433
# Ensure tests can sense settings about the environment

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.7.1
3+
rev: v0.9.9
44
hooks:
55
- id: ruff
66
args: [--fix, --unsafe-fixes]

LICENSE

Lines changed: 0 additions & 17 deletions
This file was deleted.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
:target: https://github.com/pypa/distutils/actions?query=workflow%3A%22tests%22
88
:alt: tests
99

10-
.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
10+
.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
1111
:target: https://github.com/astral-sh/ruff
1212
:alt: Ruff
1313

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ readme = "README.rst"
1212
classifiers = [
1313
"Development Status :: 5 - Production/Stable",
1414
"Intended Audience :: Developers",
15-
"License :: OSI Approved :: MIT License",
1615
"Programming Language :: Python :: 3",
1716
"Programming Language :: Python :: 3 :: Only",
1817
]
1918
requires-python = ">=3.9"
19+
license = "MIT"
2020
dependencies = [
2121
# Setuptools must require these
2222
"packaging",

ruff.toml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
# extend pyproject.toml for requires-python (workaround astral-sh/ruff#10299)
2-
extend = "pyproject.toml"
3-
41
[lint]
52
extend-select = [
63
# upstream
7-
4+
85
"C901", # complex-structure
96
"I", # isort
107
"PERF401", # manual-list-comprehension
11-
"W", # pycodestyle Warning
12-
13-
# Ensure modern type annotation syntax and best practices
8+
9+
# Ensure modern type annotation syntax and best practices
1410
# Not including those covered by type-checkers or exclusive to Python 3.11+
1511
"FA", # flake8-future-annotations
1612
"F404", # late-future-import
@@ -34,7 +30,7 @@ extend-select = [
3430
]
3531
ignore = [
3632
# upstream
37-
33+
3834
# Typeshed rejects complex or non-literal defaults for maintenance and testing reasons,
3935
# irrelevant to this project.
4036
"PYI011", # typed-argument-default-in-stub
@@ -51,8 +47,6 @@ ignore = [
5147
"Q003",
5248
"COM812",
5349
"COM819",
54-
"ISC001",
55-
"ISC002",
5650

5751
# local
5852
"B028",

0 commit comments

Comments
 (0)