update github actions
This commit is contained in:
parent
ffeee3c901
commit
5b9b51db3f
1
.github/workflows/pypi.yml
vendored
1
.github/workflows/pypi.yml
vendored
@ -14,6 +14,7 @@ jobs:
|
|||||||
POETRY_VIRTUALENVS_CREATE: false
|
POETRY_VIRTUALENVS_CREATE: false
|
||||||
with:
|
with:
|
||||||
python_version: 3.8.0
|
python_version: 3.8.0
|
||||||
|
poetry_version: 1.0.5
|
||||||
args: install
|
args: install
|
||||||
- name: Build dists
|
- name: Build dists
|
||||||
run: |
|
run: |
|
||||||
|
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@ -22,6 +22,7 @@ jobs:
|
|||||||
POETRY_VIRTUALENVS_CREATE: false
|
POETRY_VIRTUALENVS_CREATE: false
|
||||||
with:
|
with:
|
||||||
python_version: 3.8.0
|
python_version: 3.8.0
|
||||||
|
poetry_version: 1.0.5
|
||||||
args: install
|
args: install
|
||||||
- name: CI
|
- name: CI
|
||||||
env:
|
env:
|
||||||
|
4
Makefile
4
Makefile
@ -19,10 +19,10 @@ help:
|
|||||||
@echo " style Auto-formats the code"
|
@echo " style Auto-formats the code"
|
||||||
|
|
||||||
up:
|
up:
|
||||||
@poetry install
|
@poetry update
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
@poetry update
|
@poetry install
|
||||||
|
|
||||||
style: deps
|
style: deps
|
||||||
isort -rc $(checkfiles)
|
isort -rc $(checkfiles)
|
||||||
|
8
poetry.lock
generated
8
poetry.lock
generated
@ -446,11 +446,11 @@ version = "3.7.4.2"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
category = "dev"
|
category = "dev"
|
||||||
description = "Measures number of Terminal column cells of wide-character codes"
|
description = "Measures the displayed width of unicode strings in a terminal"
|
||||||
name = "wcwidth"
|
name = "wcwidth"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = "*"
|
python-versions = "*"
|
||||||
version = "0.1.9"
|
version = "0.2.2"
|
||||||
|
|
||||||
[extras]
|
[extras]
|
||||||
dbdrivers = []
|
dbdrivers = []
|
||||||
@ -687,6 +687,6 @@ typing-extensions = [
|
|||||||
{file = "typing_extensions-3.7.4.2.tar.gz", hash = "sha256:79ee589a3caca649a9bfd2a8de4709837400dfa00b6cc81962a1e6a1815969ae"},
|
{file = "typing_extensions-3.7.4.2.tar.gz", hash = "sha256:79ee589a3caca649a9bfd2a8de4709837400dfa00b6cc81962a1e6a1815969ae"},
|
||||||
]
|
]
|
||||||
wcwidth = [
|
wcwidth = [
|
||||||
{file = "wcwidth-0.1.9-py2.py3-none-any.whl", hash = "sha256:cafe2186b3c009a04067022ce1dcd79cb38d8d65ee4f4791b8888d6599d1bbe1"},
|
{file = "wcwidth-0.2.2-py2.py3-none-any.whl", hash = "sha256:b651b6b081476420e4e9ae61239ac4c1b49d0c5ace42b2e81dc2ff49ed50c566"},
|
||||||
{file = "wcwidth-0.1.9.tar.gz", hash = "sha256:ee73862862a156bf77ff92b09034fc4825dd3af9cf81bc5b360668d425f3c5f1"},
|
{file = "wcwidth-0.2.2.tar.gz", hash = "sha256:3de2e41158cb650b91f9654cbf9a3e053cee0719c9df4ddc11e4b568669e9829"},
|
||||||
]
|
]
|
||||||
|
47
setup.cfg
47
setup.cfg
@ -1,47 +0,0 @@
|
|||||||
[flake8]
|
|
||||||
max-line-length = 100
|
|
||||||
exclude =
|
|
||||||
ignore = E501,W503,DAR101,DAR201,DAR402
|
|
||||||
|
|
||||||
[darglint]
|
|
||||||
docstring_style=sphinx
|
|
||||||
|
|
||||||
[isort]
|
|
||||||
not_skip=__init__.py
|
|
||||||
multi_line_output=3
|
|
||||||
include_trailing_comma=True
|
|
||||||
force_grid_wrap=0
|
|
||||||
use_parentheses=True
|
|
||||||
line_length=100
|
|
||||||
|
|
||||||
[tool:pytest]
|
|
||||||
addopts = -n auto --tb=native -q
|
|
||||||
|
|
||||||
[mypy]
|
|
||||||
pretty = True
|
|
||||||
ignore_missing_imports = True
|
|
||||||
check_untyped_defs = True
|
|
||||||
disallow_subclassing_any = True
|
|
||||||
disallow_untyped_calls = True
|
|
||||||
disallow_untyped_defs = False
|
|
||||||
disallow_incomplete_defs = False
|
|
||||||
disallow_untyped_decorators = True
|
|
||||||
no_implicit_optional = True
|
|
||||||
warn_redundant_casts = True
|
|
||||||
warn_unused_ignores = True
|
|
||||||
warn_no_return = True
|
|
||||||
warn_return_any = False
|
|
||||||
warn_unused_configs = True
|
|
||||||
warn_unreachable = True
|
|
||||||
allow_redefinition = True
|
|
||||||
strict_equality = True
|
|
||||||
show_error_context = True
|
|
||||||
|
|
||||||
[mypy-tests.*]
|
|
||||||
check_untyped_defs = False
|
|
||||||
disallow_untyped_defs = False
|
|
||||||
disallow_incomplete_defs = False
|
|
||||||
warn_unreachable = False
|
|
||||||
|
|
||||||
[mypy-conftest]
|
|
||||||
disallow_untyped_defs = False
|
|
Loading…
x
Reference in New Issue
Block a user