awesome-ci
awesome-ci copied to clipboard
Python wrong `SyntaxError: invalid syntax`
Something wrong with your python syntax checker:
Type hints
File "./yt.py", line 15
_tracker: Optional[YaTracker] = None
^
async
File "./tests/test_game.py", line 70
async def game_on_registration(monkeypatch, one_group):
^
single quotes?
File "./antiflood.py", line 15
logger = logging.getLogger(f'mafia.{__name__}')
^
@Olegt0rr For Python I'd suggest the following instead:
- https://github.com/cytopia/docker-bandit
- https://github.com/cytopia/docker-black
- https://github.com/cytopia/docker-mypy
- https://github.com/cytopia/docker-pycodestyle
- https://github.com/cytopia/docker-pydocstyle
- https://github.com/cytopia/docker-pylint