Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ __pycache__

#Ignore vscode AI rules
.github/copilot-instructions.md


#Ignore vscode AI rules
.github/instructions/codacy.instructions.md
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.13-alpine3.22
FROM python:3.14-alpine3.23
Comment thread
DMarinhoCodacy marked this conversation as resolved.
COPY requirements.txt ./
RUN pip3 install --no-cache-dir -r requirements.txt
COPY docs /docs
Expand Down
5 changes: 5 additions & 0 deletions docs/description/E1145.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Async Context Manager With Regular With (E1145)

Context manager '%s' is async and should be used with 'async with'. Used
when an async context manager is used with a regular 'with' statement
instead of 'async with'.
2 changes: 1 addition & 1 deletion docs/description/R0133.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Comparison Of Constants (R0133)

Comparison between constants: '%s %s %s' has a constant value When two
Comparison between constants: "%s %s %s" has a constant value When two
literals are compared with each other the result is a constant. Using
the constant directly is both easier to read and more performant.
Initializing 'True' and 'False' this way is not required since Python
Expand Down
6 changes: 3 additions & 3 deletions docs/description/R1705.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# No Else Return (R1705)

Unnecessary "%s" after "return", %s Used in order to highlight an
unnecessary block of code following an if containing a return statement.
As such, it will warn when it encounters an else following a chain of
ifs, all of them containing a return statement.
unnecessary block of code following an if, or a try/except containing a
return statement. As such, it will warn when it encounters an else
following a chain of ifs, all of them containing a return statement.
6 changes: 3 additions & 3 deletions docs/description/R1720.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# No Else Raise (R1720)

Unnecessary "%s" after "raise", %s Used in order to highlight an
unnecessary block of code following an if containing a raise statement.
As such, it will warn when it encounters an else following a chain of
ifs, all of them containing a raise statement.
unnecessary block of code following an if, or a try/except containing a
raise statement. As such, it will warn when it encounters an else
following a chain of ifs, all of them containing a raise statement.
5 changes: 5 additions & 0 deletions docs/description/W0136.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Continue In Finally (W0136)

'continue' discouraged inside 'finally' clause Emitted when the continue
keyword is found inside a finally clause. This will raise a
SyntaxWarning starting in Python 3.14.
5 changes: 5 additions & 0 deletions docs/description/W0137.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Break In Finally (W0137)

'break' discouraged inside 'finally' clause Emitted when the break
keyword is found inside a finally clause. This will raise a
SyntaxWarning starting in Python 3.14.
3 changes: 2 additions & 1 deletion docs/description/W1514.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
Using open without explicitly specifying an encoding It is better to
specify an encoding when opening documents. Using the system default
implicitly can create problems on other operating systems. See
https://peps.python.org/pep-0597/
https://peps.python.org/pep-0597/ This message can't be emitted when
using Python \>= 3.15.
1,530 changes: 770 additions & 760 deletions docs/description/description.json

Large diffs are not rendered by default.

Loading