Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 792 Bytes

File metadata and controls

27 lines (18 loc) · 792 Bytes

Notes for developers

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)

Before commit

Run make lint to check code style ("black" automatically formats code, run again to re-check). Run make install test to run all tests.

Create a package and upload to PyPI

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)