diff --git a/.isort.cfg b/.isort.cfg index ad424c0..98c297f 100644 --- a/.isort.cfg +++ b/.isort.cfg @@ -7,5 +7,5 @@ import_heading_stdlib=Core Library import_heading_firstparty=First party import_heading_thirdparty=Third party import_heading_localfolder=Local -known_third_party =astor,pytest,setuptools +known_third_party =astor,pytest include_trailing_comma=True diff --git a/Makefile b/Makefile index 8fad9bb..145286f 100644 --- a/Makefile +++ b/Makefile @@ -9,10 +9,9 @@ lint: upload: make clean - python setup.py sdist bdist_wheel && twine upload dist/* + flit publish clean: - python setup.py clean --all pyclean . rm -rf *.pyc build dist tests/reports docs/build .pytest_cache .tox .coverage html/ diff --git a/requirements/dev.in b/requirements/dev.in index a53239b..eb8aeb9 100644 --- a/requirements/dev.in +++ b/requirements/dev.in @@ -1,8 +1,8 @@ +flit junit2html pip-tools pre-commit pytest pytest-cov pytest-timeout -twine wheel diff --git a/requirements/dev.txt b/requirements/dev.txt index f9986de..fb4e5c8 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,69 +1,51 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: # # pip-compile requirements/dev.in # attrs==21.4.0 # via pytest -bleach==4.1.0 - # via readme-renderer certifi==2021.10.8 # via requests -cffi==1.15.0 - # via cryptography cfgv==3.3.1 # via pre-commit charset-normalizer==2.0.12 # via requests click==8.0.4 # via pip-tools -colorama==0.4.4 - # via twine coverage[toml]==6.3.2 # via pytest-cov -cryptography==36.0.2 - # via secretstorage distlib==0.3.4 # via virtualenv docutils==0.18.1 - # via readme-renderer + # via flit filelock==3.6.0 # via virtualenv +flit==3.8.0 + # via -r requirements/dev.in +flit-core==3.8.0 + # via flit identify==2.4.12 # via pre-commit idna==3.3 # via requests -importlib-metadata==4.11.3 - # via - # keyring - # twine iniconfig==1.1.1 # via pytest -jeepney==0.7.1 - # via - # keyring - # secretstorage jinja2==3.1.1 # via junit2html junit2html==30.0.6 # via -r requirements/dev.in -keyring==23.5.0 - # via twine markupsafe==2.1.1 # via jinja2 nodeenv==1.6.0 # via pre-commit packaging==21.3 - # via - # bleach - # pytest + # via pytest pep517==0.12.0 # via pip-tools pip-tools==6.5.1 # via -r requirements/dev.in -pkginfo==1.8.2 - # via twine platformdirs==2.5.1 # via virtualenv pluggy==1.0.0 @@ -72,10 +54,6 @@ pre-commit==2.17.0 # via -r requirements/dev.in py==1.11.0 # via pytest -pycparser==2.21 - # via cffi -pygments==2.11.2 - # via readme-renderer pyparsing==3.0.7 # via packaging pytest==7.1.1 @@ -89,22 +67,10 @@ pytest-timeout==2.1.0 # via -r requirements/dev.in pyyaml==6.0 # via pre-commit -readme-renderer==34.0 - # via twine requests==2.27.1 - # via - # requests-toolbelt - # twine -requests-toolbelt==0.9.1 - # via twine -rfc3986==2.0.0 - # via twine -secretstorage==3.3.1 - # via keyring + # via flit six==1.16.0 - # via - # bleach - # virtualenv + # via virtualenv toml==0.10.2 # via pre-commit tomli==2.0.1 @@ -112,24 +78,16 @@ tomli==2.0.1 # coverage # pep517 # pytest -tqdm==4.63.1 - # via twine -twine==3.8.0 - # via -r requirements/dev.in +tomli-w==1.0.0 + # via flit urllib3==1.26.9 - # via - # requests - # twine + # via requests virtualenv==20.14.0 # via pre-commit -webencodings==0.5.1 - # via bleach wheel==0.37.1 # via # -r requirements/dev.in # pip-tools -zipp==3.7.0 - # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip