Compare commits

..

No commits in common. "d7ebe08091be3a2a66169706163f5f17f1c84f69" and "f60257935736a2484306e119c12fc2e77b4606aa" have entirely different histories.

6 changed files with 6 additions and 19 deletions

View File

@ -1,5 +1,7 @@
# TODO:
- edit readme to use poetry
- tests
- add AGPL
- add CI
- add flake

View File

@ -26,7 +26,6 @@ wheels/
*.egg
# virtualenv
.venv/
venv/
# mypy

View File

@ -18,14 +18,13 @@ This project if a free software released under the {{ cookiecutter.open_source_l
## Dev
This project is managed by [poetry](https://python-poetry.org/).
If you want to tinker with this project, you can clone it and install it in editable mode:
To open a shell in a venv of the project:
```
git clone {{ cookiecutter.project_url }}.git
cd {{ cookiecutter.project_slug }}
poetry shell
poetry install
python -m venv venv && source venv/bin/activate
pip install -e .[dev]
```
### Test
@ -33,9 +32,8 @@ poetry install
Tests are run using `pytest`:
```
poetry run pytest
pytest
```
{% endif %}
## Author

View File

@ -17,13 +17,6 @@ python = "^3.10"
[tool.poetry.scripts]
{{ cookiecutter.project_slug }} = "{{ cookiecutter.project_slug }}.cli:main"
[tool.poetry.group.dev.dependencies]
pytest = "*"
pytest-cov = "*"
[tool.pytest.ini_options]
addopts = "--cov"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

View File

@ -1,4 +0,0 @@
import {{ cookiecutter.project_slug }}
def test_dummy():
assert True

View File

@ -1,6 +1,5 @@
import argparse
def main():
""" Console entrypoint for {{cookiecutter.project_slug}}."""
parser = argparse.ArgumentParser()