Skip to content

Commit e33a953

Browse files
committed
# Conflicts: # pyproject.toml
2 parents 70b581b + 9a81db3 commit e33a953

File tree

6 files changed

+8
-32
lines changed

6 files changed

+8
-32
lines changed

.github/workflows/main.yml

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

2222
# Suppress noisy pip warnings
2323
PIP_DISABLE_PIP_VERSION_CHECK: 'true'
24-
PIP_NO_PYTHON_VERSION_WARNING: 'true'
2524
PIP_NO_WARN_SCRIPT_LOCATION: 'true'
2625

2726
# 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/coherent-oss/pytest-ignore-flaky/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
@@ -17,7 +17,6 @@ classifiers = [
1717
"Development Status :: 5 - Production/Stable",
1818
"Environment :: Console",
1919
"Intended Audience :: Developers",
20-
"License :: OSI Approved :: MIT License",
2120
"Natural Language :: English",
2221
"Operating System :: OS Independent",
2322
"Operating System :: POSIX",
@@ -30,6 +29,7 @@ classifiers = [
3029
"Topic :: Software Development :: Testing",
3130
]
3231
requires-python = ">=3.9"
32+
license = "MIT"
3333
dependencies = [
3434
"pytest>=6.0",
3535
]

ruff.toml

Lines changed: 5 additions & 11 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
@@ -26,7 +22,7 @@ extend-select = [
2622
]
2723
ignore = [
2824
# upstream
29-
25+
3026
# Typeshed rejects complex or non-literal defaults for maintenance and testing reasons,
3127
# irrelevant to this project.
3228
"PYI011", # typed-argument-default-in-stub
@@ -43,10 +39,8 @@ ignore = [
4339
"Q003",
4440
"COM812",
4541
"COM819",
46-
"ISC001",
47-
"ISC002",
4842

49-
# local
43+
# local
5044
]
5145

5246
[format]

0 commit comments

Comments
 (0)