-
Notifications
You must be signed in to change notification settings - Fork 6
Pylint files #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pylint files #44
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
reviews: | ||
tools: | ||
# oxlint does not run if biome is enabled | ||
ruff: | ||
enabled: false |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[MASTER] | ||
ignore=venv | ||
jobs=1 | ||
|
||
[MESSAGES CONTROL] | ||
disable= | ||
missing-docstring, | ||
invalid-name, | ||
too-few-public-methods | ||
|
||
[FORMAT] | ||
max-line-length=100 | ||
|
||
[REPORTS] | ||
output-format=colorized | ||
reports=no | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
print("Hello World') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix the syntax error in the print statement. The string literal has mismatched quotation marks - it opens with a double quote but closes with a single quote, causing a syntax error. Apply this diff to fix the syntax error: -print("Hello World') +print("Hello World") 📝 Committable suggestion
Suggested change
print("Hello World')
print("Hello World")
🧰 Tools🪛 Ruff (0.12.2)1-1: SyntaxError: missing closing quote in string literal 🤖 Prompt for AI Agents
|
||
print(1+"a") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix the TypeError in the print statement. Attempting to add an integer (1) and a string ("a") will raise a TypeError at runtime in Python. Apply this diff to fix the runtime error: -print(1+"a") +print(str(1)+"a") Alternatively, if you intended to print them separately: -print(1+"a") +print(1, "a") 📝 Committable suggestion
Suggested change
print(1+"a")
print(str(1) +"a")
Suggested change
print(1+"a")
print(1, "a")
🤖 Prompt for AI Agents
|
||
|