general: initial flake8 checks (for now manual)
fix fairly uncontroversial stuff in my.core like - line spacing, which isn't too annoying (e.g. unlike many inline whitespace checks that break vertical formatting) - unused imports/variables - too broad except
This commit is contained in:
parent
fd0c65d176
commit
016f28250b
19 changed files with 124 additions and 58 deletions
|
@ -12,9 +12,6 @@ import warnings
|
|||
import click
|
||||
|
||||
|
||||
# just bring in the scope of this module for convenience
|
||||
from warnings import warn
|
||||
|
||||
def _colorize(x: str, color: Optional[str]=None) -> str:
|
||||
if color is None:
|
||||
return x
|
||||
|
@ -49,3 +46,7 @@ def high(message: str, *args, **kwargs) -> None:
|
|||
'''
|
||||
kwargs['color'] = 'red'
|
||||
_warn(message, *args, **kwargs)
|
||||
|
||||
|
||||
# NOTE: deprecated -- legacy import
|
||||
from warnings import warn
|
Loading…
Add table
Add a link
Reference in a new issue