Pythonのformatter, linter, CI
install
code:shell
poetry add flake8 black isort --dev
settings
code:.flake8
ignore = E203,W503,W504
max-line-length = 119
code:pyproject.toml
line-length = 119
profile = "black"
line_length = 119
code:lint.yml
- name: Lint
run: |
poetry run flake8 ./src
poetry run isort --check --diff ./src
poetry run black --check ./src