Compare commits
No commits in common. "d7ebe08091be3a2a66169706163f5f17f1c84f69" and "f60257935736a2484306e119c12fc2e77b4606aa" have entirely different histories.
d7ebe08091
...
f602579357
2
TODO.md
2
TODO.md
|
|
@ -1,5 +1,7 @@
|
||||||
# TODO:
|
# TODO:
|
||||||
|
|
||||||
|
- edit readme to use poetry
|
||||||
|
- tests
|
||||||
- add AGPL
|
- add AGPL
|
||||||
- add CI
|
- add CI
|
||||||
- add flake
|
- add flake
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ wheels/
|
||||||
*.egg
|
*.egg
|
||||||
|
|
||||||
# virtualenv
|
# virtualenv
|
||||||
.venv/
|
|
||||||
venv/
|
venv/
|
||||||
|
|
||||||
# mypy
|
# mypy
|
||||||
|
|
|
||||||
|
|
@ -18,14 +18,13 @@ This project if a free software released under the {{ cookiecutter.open_source_l
|
||||||
|
|
||||||
## Dev
|
## 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
|
git clone {{ cookiecutter.project_url }}.git
|
||||||
cd {{ cookiecutter.project_slug }}
|
cd {{ cookiecutter.project_slug }}
|
||||||
poetry shell
|
python -m venv venv && source venv/bin/activate
|
||||||
poetry install
|
pip install -e .[dev]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Test
|
### Test
|
||||||
|
|
@ -33,9 +32,8 @@ poetry install
|
||||||
Tests are run using `pytest`:
|
Tests are run using `pytest`:
|
||||||
|
|
||||||
```
|
```
|
||||||
poetry run pytest
|
pytest
|
||||||
```
|
```
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
## Author
|
## Author
|
||||||
|
|
|
||||||
|
|
@ -17,13 +17,6 @@ python = "^3.10"
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
{{ cookiecutter.project_slug }} = "{{ cookiecutter.project_slug }}.cli:main"
|
{{ cookiecutter.project_slug }} = "{{ cookiecutter.project_slug }}.cli:main"
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
|
||||||
pytest = "*"
|
|
||||||
pytest-cov = "*"
|
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
|
||||||
addopts = "--cov"
|
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core"]
|
requires = ["poetry-core"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
import {{ cookiecutter.project_slug }}
|
|
||||||
|
|
||||||
def test_dummy():
|
|
||||||
assert True
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
""" Console entrypoint for {{cookiecutter.project_slug}}."""
|
""" Console entrypoint for {{cookiecutter.project_slug}}."""
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue