Tests should be run against installed package:
git clone git@github.com:MasterSergius/acachecontrol.git
cd acachecontrol
pip install .Then run tests:
pytest tests or python -m pytest tests
Supported python versions: 3.6+ (Note that asyncio.run() introduced in 3.7)
Run make lint to check code style ("black" automatically formats code, run again to re-check).
Run make install test to run all tests.
Update version in src/acachecontrol/init.py
Create package: python3 setup.py sdist bdist_wheel
Previous command might be deprecated, so use build from now.
Upload to PyPi: python3 -m twine upload dist/* (you need to have owner's api token)