File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed
Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/psf/black
3- rev : 23.11.0
3+ rev : 24.1.1
44 hooks :
55 - id : black
66 args : [--target-version=py38]
77 - repo : https://github.com/PyCQA/isort
8- rev : 5.12.0
8+ rev : 5.13.2
99 hooks :
1010 - id : isort
1111 - repo : https://github.com/asottile/pyupgrade
@@ -14,13 +14,13 @@ repos:
1414 - id : pyupgrade
1515 args : [--py38-plus]
1616 - repo : https://github.com/PyCQA/flake8
17- rev : 6.1 .0
17+ rev : 7.0 .0
1818 hooks :
1919 - id : flake8
2020 additional_dependencies :
2121 - flake8-pytest-style
2222 - repo : https://github.com/pre-commit/mirrors-mypy
23- rev : v1.7.1
23+ rev : v1.8.0
2424 hooks :
2525 - id : mypy
2626 # Avoid error: Duplicate module named 'setup'
@@ -37,13 +37,13 @@ repos:
3737 - pytest==7.4.2
3838 language_version : python3.8
3939 - repo : https://github.com/PyCQA/bandit
40- rev : 1.7.5
40+ rev : 1.7.7
4141 hooks :
4242 - id : bandit
4343 args : [--ini, .bandit]
4444 exclude : ^tests/
4545 - repo : https://github.com/pre-commit/mirrors-prettier
46- rev : v3.1.0
46+ rev : v4.0.0-alpha.8
4747 hooks :
4848 - id : prettier
4949 additional_dependencies :
Original file line number Diff line number Diff line change 2626
2727 class PackageMetadata (Protocol ):
2828 @overload
29- def get_all (self , name : str , failobj : None = None ) -> list [Any ] | None :
30- ...
29+ def get_all (self , name : str , failobj : None = None ) -> list [Any ] | None : ...
3130
3231 @overload
33- def get_all (self , name : str , failobj : _T ) -> list [Any ] | _T :
34- ...
32+ def get_all (self , name : str , failobj : _T ) -> list [Any ] | _T : ...
3533
3634
3735@dataclass
Original file line number Diff line number Diff line change @@ -504,9 +504,9 @@ def __init__(
504504 self .existing_constraints = existing_constraints
505505
506506 # Categorize InstallRequirements into sets by key
507- constraints_sets : DefaultDict [
508- str , set [ InstallRequirement ]
509- ] = collections . defaultdict ( set )
507+ constraints_sets : DefaultDict [str , set [ InstallRequirement ]] = (
508+ collections . defaultdict ( set )
509+ )
510510 for ireq in constraints :
511511 constraints_sets [key_from_ireq (ireq )].add (ireq )
512512 # Collapse each set of InstallRequirements using combine_install_requirements
You can’t perform that action at this time.
0 commit comments