mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-09-22 22:57:56 +03:00
Unpin flake8 now that it's fixed, fix a few lint errors.
This commit is contained in:
@@ -167,7 +167,7 @@ class JubeatBase(CoreHandler, CardManagerHandler, PASELIHandler, Base):
|
||||
return None
|
||||
|
||||
cache_key = f"get_scores_by_extid-{extid}"
|
||||
score: Optional[List[Score]]
|
||||
scores: Optional[List[Score]]
|
||||
|
||||
if partition == 1:
|
||||
# We fetch all scores on the first partition and then divy up
|
||||
|
||||
@@ -72,7 +72,7 @@ class TrackedCoverage:
|
||||
def print_coverage(self, req_start: Optional[int] = None, req_end: Optional[int] = None) -> None:
|
||||
for start, offset in self.get_uncovered_chunks(req_start, req_end):
|
||||
print(
|
||||
f"Uncovered: {hex(start)} - {hex(offset)} ({offset-start} bytes)",
|
||||
f"Uncovered: {hex(start)} - {hex(offset)} ({offset - start} bytes)",
|
||||
file=sys.stderr,
|
||||
)
|
||||
|
||||
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
setuptools
|
||||
Cython
|
||||
SQLAlchemy<2.0.0
|
||||
alembic
|
||||
@@ -16,7 +17,7 @@ types-Werkzeug
|
||||
types-Flask
|
||||
types-freezegun
|
||||
types-python-dateutil
|
||||
flake8==4.0.1
|
||||
flake8
|
||||
typed-ast
|
||||
freezegun
|
||||
pyreact @ git+https://github.com/DragonMinded/react-python@main
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
#! /bin/bash
|
||||
|
||||
flake8 bemani/ --ignore E203,E501,E252,E704,E741,W503,W504,B006,B008,B009 | grep -v "migrations\/"
|
||||
flake8 bemani/ --ignore E203,E501,E252,E704,E721,E741,W503,W504,B006,B008,B009 | grep -v "migrations\/"
|
||||
|
||||
Reference in New Issue
Block a user