diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c38b372..1f02bcf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -66,7 +66,7 @@ jobs: run: poetry lock --check - name: Install dependencies - run: poetry install + run: poetry install --without examples - name: Run tests run: poetry run python -m pytest -p no:sugar -q tests/ diff --git a/.gitignore b/.gitignore index aa60c47..f08a8de 100644 --- a/.gitignore +++ b/.gitignore @@ -85,7 +85,7 @@ ipython_config.py # pyenv # For a library or package, you might want to ignore these files since the code is # intended to run in multiple environments; otherwise, check them in: -# .python-version +.python-version # pipenv # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. diff --git a/README.md b/README.md index f6a2fcb..6a4a5e6 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ +[![](https://github.com/pgorecki/lato/workflows/Tests/badge.svg)](https://github.com/pgorecki/lato/actions?query=workflow%3ATests) [![Documentation Status](https://readthedocs.org/projects/lato/badge/?version=latest)](https://lato.readthedocs.io/en/latest/?badge=latest) [![PyPI version](https://img.shields.io/pypi/v/lato)](https://pypi.org/project/lato/) [![Python Versions](https://img.shields.io/pypi/pyversions/lato)](https://pypi.org/project/lato/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) -[![](https://github.com/pgorecki/lato/workflows/Tests/badge.svg)](https://github.com/python-poetry/poetry-core/actions?query=workflow%3ATests) +[![Downloads](https://static.pepy.tech/badge/lato/month)](https://pepy.tech/project/lato) # Lato diff --git a/poetry.lock b/poetry.lock index 28cf372..5e8c39b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1541,4 +1541,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "b716b5602d7405609b74102b192232d7bcbc80d56b1e12189a78f788a406e9bc" +content-hash = "4dc665b21f937371b2b9bed39492931d64ad52c5c3b70c9c89a41d0019120843" diff --git a/pyproject.toml b/pyproject.toml index 329b1c6..d6a32ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,15 +19,16 @@ license = "MIT" [tool.poetry.dependencies] python = "^3.9" -pytest = "^7.4.2" pydantic = "^2.4.2" mergedeep = "^1.3.4" -[tool.poetry.dev-dependencies] +[tool.poetry.group.dev.dependencies] build = "^1.0.3" twine = "^4.0.2" +pytest = "^7.4.2" Sphinx = "^7.2.6" myst-parser = "^2.0.0" +sphinx-autodoc-typehints = "^2.0.0" sphinx-autobuild = "^2021.3.14" mypy = "^1.6.1" sphinx-rtd-theme = "^1.3.0" @@ -36,10 +37,6 @@ sphinx-rtd-theme = "^1.3.0" dependency-injector = "^4.41.0" lagom = "^2.5.0" - -[tool.poetry.group.dev.dependencies] -sphinx-autodoc-typehints = "^2.0.0" - [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api"