File tree Expand file tree Collapse file tree 13 files changed +1211
-1169
lines changed
Expand file tree Collapse file tree 13 files changed +1211
-1169
lines changed Original file line number Diff line number Diff line change @@ -16,3 +16,7 @@ __pycache__
1616
1717# Ignore vscode AI rules
1818.github /copilot-instructions.md
19+
20+
21+ # Ignore vscode AI rules
22+ .github /instructions /codacy.instructions.md
Original file line number Diff line number Diff line change 1- FROM python:3.13 -alpine3.22
1+ FROM python:3.14 -alpine3.23
22COPY requirements.txt ./
33RUN pip3 install --no-cache-dir -r requirements.txt
44COPY docs /docs
Original file line number Diff line number Diff line change 1+ # Async Context Manager With Regular With (E1145)
2+
3+ Context manager '%s' is async and should be used with 'async with'. Used
4+ when an async context manager is used with a regular 'with' statement
5+ instead of 'async with'.
Original file line number Diff line number Diff line change 11# Comparison Of Constants (R0133)
22
3- Comparison between constants: ' %s %s %s' has a constant value When two
3+ Comparison between constants: " %s %s %s" has a constant value When two
44literals are compared with each other the result is a constant. Using
55the constant directly is both easier to read and more performant.
66Initializing 'True' and 'False' this way is not required since Python
Original file line number Diff line number Diff line change 11# No Else Return (R1705)
22
33Unnecessary "%s" after "return", %s Used in order to highlight an
4- unnecessary block of code following an if containing a return statement.
5- As such, it will warn when it encounters an else following a chain of
6- ifs, all of them containing a return statement.
4+ unnecessary block of code following an if, or a try/except containing a
5+ return statement. As such, it will warn when it encounters an else
6+ following a chain of ifs, all of them containing a return statement.
Original file line number Diff line number Diff line change 11# No Else Raise (R1720)
22
33Unnecessary "%s" after "raise", %s Used in order to highlight an
4- unnecessary block of code following an if containing a raise statement.
5- As such, it will warn when it encounters an else following a chain of
6- ifs, all of them containing a raise statement.
4+ unnecessary block of code following an if, or a try/except containing a
5+ raise statement. As such, it will warn when it encounters an else
6+ following a chain of ifs, all of them containing a raise statement.
Original file line number Diff line number Diff line change 1+ # Continue In Finally (W0136)
2+
3+ 'continue' discouraged inside 'finally' clause Emitted when the continue
4+ keyword is found inside a finally clause. This will raise a
5+ SyntaxWarning starting in Python 3.14.
Original file line number Diff line number Diff line change 1+ # Break In Finally (W0137)
2+
3+ 'break' discouraged inside 'finally' clause Emitted when the break
4+ keyword is found inside a finally clause. This will raise a
5+ SyntaxWarning starting in Python 3.14.
Original file line number Diff line number Diff line change 33Using open without explicitly specifying an encoding It is better to
44specify an encoding when opening documents. Using the system default
55implicitly can create problems on other operating systems. See
6- https://peps.python.org/pep-0597/
6+ https://peps.python.org/pep-0597/ This message can't be emitted when
7+ using Python \> = 3.15.
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments