mirror of
https://github.com/rr-/pq-cli.git
synced 2026-11-12 22:40:36 -07:00
build: replace black and isort with ruff
ruff format keeps black's style at the same line length, and ruff check covers import sorting plus pycodestyle and pyflakes. Three comments and a test regex are wrapped to fit 79 columns.
This commit is contained in:
8 files changed
+21
-24
No files matched your search
+2
-1
@@ -923,7 +923,8 @@ def monster_task(
|
||||
result = monster.name
|
||||
lev = monster.level
|
||||
else:
|
||||
# pick the monster out of so many random ones closest to the level we want
|
||||
# pick the monster out of so many random ones closest to the level
|
||||
# we want
|
||||
monster = unnamed_monster(data, level, iterations=5)
|
||||
result = monster.name
|
||||
lev = monster.level
|
||||
|
||||
Reference in new issue
Block a user