File tree 6 files changed +8
-217
lines changed
6 files changed +8
-217
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/python/importlib_resources/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 @@ -15,11 +15,11 @@ readme = "README.rst"
15
15
classifiers = [
16
16
" Development Status :: 5 - Production/Stable" ,
17
17
" Intended Audience :: Developers" ,
18
- " License :: OSI Approved :: Apache Software License" ,
19
18
" Programming Language :: Python :: 3" ,
20
19
" Programming Language :: Python :: 3 :: Only" ,
21
20
]
22
21
requires-python = " >=3.9"
22
+ license = " Apache-2.0"
23
23
dependencies = [
24
24
" zipp >= 3.1.0; python_version < '3.10'" ,
25
25
]
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