Unpin flake8 now that it's fixed, fix a few lint errors.
This commit is contained in:
parent
253dd52b67
commit
bafe844402
@ -167,7 +167,7 @@ class JubeatBase(CoreHandler, CardManagerHandler, PASELIHandler, Base):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
cache_key = f"get_scores_by_extid-{extid}"
|
cache_key = f"get_scores_by_extid-{extid}"
|
||||||
score: Optional[List[Score]]
|
scores: Optional[List[Score]]
|
||||||
|
|
||||||
if partition == 1:
|
if partition == 1:
|
||||||
# We fetch all scores on the first partition and then divy up
|
# 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:
|
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):
|
for start, offset in self.get_uncovered_chunks(req_start, req_end):
|
||||||
print(
|
print(
|
||||||
f"Uncovered: {hex(start)} - {hex(offset)} ({offset-start} bytes)",
|
f"Uncovered: {hex(start)} - {hex(offset)} ({offset - start} bytes)",
|
||||||
file=sys.stderr,
|
file=sys.stderr,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
setuptools
|
||||||
Cython
|
Cython
|
||||||
SQLAlchemy<2.0.0
|
SQLAlchemy<2.0.0
|
||||||
alembic
|
alembic
|
||||||
@ -16,7 +17,7 @@ types-Werkzeug
|
|||||||
types-Flask
|
types-Flask
|
||||||
types-freezegun
|
types-freezegun
|
||||||
types-python-dateutil
|
types-python-dateutil
|
||||||
flake8==4.0.1
|
flake8
|
||||||
typed-ast
|
typed-ast
|
||||||
freezegun
|
freezegun
|
||||||
pyreact @ git+https://github.com/DragonMinded/react-python@main
|
pyreact @ git+https://github.com/DragonMinded/react-python@main
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#! /bin/bash
|
#! /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\/"
|
||||||
|
Loading…
Reference in New Issue
Block a user