-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from SkwalExe/add-ruff
Add ruff for linting and formatting
- Loading branch information
Showing
10 changed files
with
191 additions
and
98 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Default formatting rules are pretty good | ||
line-length = 120 | ||
[lint] | ||
# Read more here https://beta.ruff.rs/docs/rules/ | ||
# By default, Ruff enables Flake8's E and F rules | ||
# Pyflakes - F, pycodestyle - E, W | ||
# flake8-builtins - A | ||
# flake8-annotations - ANN | ||
# flake8-simplify - SIM | ||
# Pylint - PLC, PLE, PLW | ||
# isort - I | ||
select = ['E', 'F', 'W', 'A', 'PLC', 'PLE', 'PLW', 'I', 'SIM', 'ANN'] | ||
ignore = [ | ||
'ANN101' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""Simple program that generates a logo for your open source projects""" | ||
|
||
__version__ = "3.0.0" | ||
__version__ = "3.0.0-dev" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
from PIL.Image import Image | ||
|
||
from . import underline_core | ||
|
||
display_name = "First letters underlined" | ||
active = True | ||
questions = underline_core.questions | ||
|
||
|
||
def get_image(answers): | ||
def get_image(answers: dict) -> Image: | ||
return underline_core.get_image(answers) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.