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

update: pyproject.toml sync with the caps project #7

Merged
merged 2 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
20 changes: 11 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[tool.poetry]
name = "caps-starter-template"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]
description = "Template Repository for Clean Architecture Python Project"
authors = ["maany <[email protected]>", "Luis Alejandro Bordo García <[email protected]>"]
alebg marked this conversation as resolved.
Show resolved Hide resolved
license = "MIT"
readme = "README.md"
packages = [{include = "lib"}]

Expand Down Expand Up @@ -32,6 +33,9 @@ env = [
"THIS_PROJECT_RDBMS_USERNAME=sqldbms",
"THIS_PROJECT_RDBMS_PASSWORD=sqldbms",
]
pythonpath = [
"."
]


[build-system]
Expand All @@ -41,20 +45,18 @@ build-backend = "poetry.core.masonry.api"

[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
strict = true
ignore_missing_imports = true
plugins = ["pydantic.mypy"]
explicit_package_bases = true
exclude = [
"tests/types",
]

[[tool.mypy.overrides]]
module = "alembic.env"
ignore_errors = true

[[tool.mypy.overrides]]
module = "tests.*"
ignore_errors = true


[tool.black]
line-length = 120
target-version = ['py310']
Expand Down
2 changes: 1 addition & 1 deletion tests/test_empty.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
def test_empty():
def test_empty() -> None:
pass