File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 - name : Set up Python
1414 uses : actions/setup-python@v4
1515 with :
16- python-version : " 3.10 "
16+ python-version : " 3.11 "
1717 cache : " pip"
1818 cache-dependency-path : requirements.*.txt
1919
Original file line number Diff line number Diff line change 11---
22default_language_version :
3- python : python3.10
3+ python : python3.11
44repos :
55 - repo : https://github.com/adamchainz/django-upgrade
66 rev : 1.24.0
2323 hooks :
2424 - id : pyupgrade
2525 args :
26- - --py310 -plus
26+ - --py311 -plus
Original file line number Diff line number Diff line change 22 "cbv/importer/importers.py" : {
33 "Call to untyped function \" get_code\" in typed context [no-untyped-call]" : 1 ,
44 "Function is missing a type annotation [no-untyped-def]" : 1 ,
5- "Function is missing a type annotation for one or more arguments [no-untyped-def]" : 12
5+ "Function is missing a type annotation for one or more arguments [no-untyped-def]" : 12 ,
6+ "Module has no attribute \" formatargspec\" [attr-defined]" : 1
67 },
78 "cbv/management/commands/cbv_dumpversion.py" : {
89 "Function is missing a type annotation [no-untyped-def]" : 1
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ python_files = [
3737extend-exclude = [
3838 " .env" ,
3939]
40- target-version = " py310 "
40+ target-version = " py311 "
4141
4242[tool .ruff .lint ]
4343extend-select = [
You can’t perform that action at this time.
0 commit comments