chore: 開発環境の整備

pull/3/head
yupix 2 years ago
parent 17a471b89e
commit 1e3260d27b
No known key found for this signature in database
GPG Key ID: 2FF705F5C56D9C06

@ -16,7 +16,7 @@ jobs:
commands:
- pip install . .[ci]
- mypy mipac
- flake8 mipac
- pflake8 mipac
useTTY: true
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
triggers:

@ -1,2 +1,11 @@
[tool.black]
line-length = 79
line-length = 79
[tool.isort]
profile = "black"
line_length = 79
[tool.flake8]
skip_glob = "mipac/abc/*.py"
ignore = "A003, W503,"
# W503は現在のPEP 8に従う為無効, A003はidなど直感的な操作として必要不可欠

@ -19,10 +19,10 @@ extras_require = {
'axblack',
'isort',
'mypy',
'flake8'
'pyproject-flake8'
],
'ci': [
'flake8',
'pyproject-flake8',
'mypy'
]
}

Loading…
Cancel
Save