File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11repos :
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]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77 :target: https://github.com/jaraco/cssutils/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
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ classifiers = [
2323 " Topic :: Text Processing :: Markup :: HTML" ,
2424]
2525requires-python = " >=3.9"
26+ license = " LGPL-3.0-or-later"
2627dependencies = [
2728 " more_itertools" ,
2829]
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-
41[lint ]
52extend-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]
2723ignore = [
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,8 +39,6 @@ ignore = [
4339 " Q003" ,
4440 " COM812" ,
4541 " COM819" ,
46- " ISC001" ,
47- " ISC002" ,
4842
4943 # local
5044 " E501" , # many lines are too long
You can’t perform that action at this time.
0 commit comments