File tree 6 files changed +8
-32
lines changed
6 files changed +8
-32
lines changed Original file line number Diff line number Diff line change 21
21
22
22
# Suppress noisy pip warnings
23
23
PIP_DISABLE_PIP_VERSION_CHECK : ' true'
24
- PIP_NO_PYTHON_VERSION_WARNING : ' true'
25
24
PIP_NO_WARN_SCRIPT_LOCATION : ' true'
26
25
27
26
# Ensure tests can sense settings about the environment
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/astral-sh/ruff-pre-commit
3
- rev : v0.7.1
3
+ rev : v0.9.9
4
4
hooks :
5
5
- id : ruff
6
6
args : [--fix, --unsafe-fixes]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
:target: https://github.com/coherent-oss/pytest-ignore-flaky/actions?query=workflow%3A%22tests%22
8
8
:alt: tests
9
9
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
11
11
:target: https://github.com/astral-sh/ruff
12
12
:alt: Ruff
13
13
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ classifiers = [
17
17
" Development Status :: 5 - Production/Stable" ,
18
18
" Environment :: Console" ,
19
19
" Intended Audience :: Developers" ,
20
- " License :: OSI Approved :: MIT License" ,
21
20
" Natural Language :: English" ,
22
21
" Operating System :: OS Independent" ,
23
22
" Operating System :: POSIX" ,
@@ -30,6 +29,7 @@ classifiers = [
30
29
" Topic :: Software Development :: Testing" ,
31
30
]
32
31
requires-python = " >=3.9"
32
+ license = " MIT"
33
33
dependencies = [
34
34
" pytest>=6.0" ,
35
35
]
Original file line number Diff line number Diff line change 1
- # extend pyproject.toml for requires-python (workaround astral-sh/ruff#10299)
2
- extend = " pyproject.toml"
3
-
4
1
[lint ]
5
2
extend-select = [
6
3
# upstream
7
-
4
+
8
5
" C901" , # complex-structure
9
6
" I" , # isort
10
7
" 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
14
10
# Not including those covered by type-checkers or exclusive to Python 3.11+
15
11
" FA" , # flake8-future-annotations
16
12
" F404" , # late-future-import
@@ -26,7 +22,7 @@ extend-select = [
26
22
]
27
23
ignore = [
28
24
# upstream
29
-
25
+
30
26
# Typeshed rejects complex or non-literal defaults for maintenance and testing reasons,
31
27
# irrelevant to this project.
32
28
" PYI011" , # typed-argument-default-in-stub
@@ -43,10 +39,8 @@ ignore = [
43
39
" Q003" ,
44
40
" COM812" ,
45
41
" COM819" ,
46
- " ISC001" ,
47
- " ISC002" ,
48
42
49
- # local
43
+ # local
50
44
]
51
45
52
46
[format ]
You can’t perform that action at this time.
0 commit comments