Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KIT-3396 added project files and edited requirements #3

Merged
merged 6 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ dist/
venv
sag_py_web_common.egg-info
/lcov.info
poetry.lock
5 changes: 0 additions & 5 deletions .idea/.gitignore

This file was deleted.

14 changes: 0 additions & 14 deletions .idea/inspectionProfiles/Default.xml

This file was deleted.

2 changes: 1 addition & 1 deletion .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/runConfigurations/Pytest_with_coverage.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions .idea/sag_py_web_common.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ warn_unused_ignores = true
# Shows a warning when encountering any code inferred to be unreachable or redundant after performing type analysis.
warn_unreachable = false
# Make arguments prepended via Concatenate be truly positional-only.
strict_concatenate = true
extra_checks = true
# Prohibit equality checks, identity checks, and container checks between non-overlapping types.
strict_equality = true
31 changes: 28 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.poetry]
name = "sag-py-web-common"
version = "0.1.3"
description = "Small helper functions for web projects"
authors = ["Samhammer AG"]
license = "MIT"
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.8.2"
asgi-logger = "^0.1.0"
fastapi = "^0.110.3"

[tool.poetry.group.dev.dependencies]
flake8 = "*"
mypy = "*"
build = "*"
pytest = "*"
pytest-asyncio = "*"
pytest-cov = "*"
coverage-lcov = "*"
toml = "*"
mock = "*"
types-mock = "*"

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
10 changes: 8 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ flake8
mypy
build

mock
types-mock

pytest
pytest-asyncio
pytest-cov

# Toml and coverage temporarely fixes compatibility issues between coverage-lcov and coverage
# see for details: https://github.com/theupdateframework/python-tuf/issues/2254
coverage-lcov
mock
types-mock
toml
coverage==6.5.0
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
asgi-logger>=0.1.0
fastapi>=0.52.1
fastapi>=0.110.3
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setuptools.setup(
name="sag-py-web-common",
version="0.1.2",
version="0.1.3",
description="Small helper functions for web projects",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
Expand Down
Loading