Chore: Updated .vscode/* files and other boilerplate stuff
This commit is contained in:
1 parent
608d1e6f13
commit
ba97abf0c5
11 files changed
+3533
-129
No files matched your search
+50
-32
@@ -5,30 +5,30 @@ description = "Accounting plus inventory management for a restaurant."
|
||||
authors = ["tanshu <git@tanshu.com>"]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.13"
|
||||
uvicorn = {extras = ["standard"], version = "^0.34.3"}
|
||||
fastapi = {extras = ["all"], version = "^0.115.12"}
|
||||
python = "^3.14"
|
||||
uvicorn = {extras = ["standard"], version = "^0.41.0"}
|
||||
fastapi = {extras = ["all"], version = "^0.129.0"}
|
||||
passlib = {extras = ["bcrypt"], version = "^1.7.4"}
|
||||
psycopg = {extras = ["binary", "pool"], version = "^3.2.9"}
|
||||
SQLAlchemy = "^2.0.41"
|
||||
python-multipart = "^0.0.20"
|
||||
PyJWT = "^2.10.1"
|
||||
alembic = "^1.16.1"
|
||||
psycopg = {extras = ["binary", "pool"], version = "^3.3.2"}
|
||||
SQLAlchemy = "^2.0.46"
|
||||
python-multipart = "^0.0.22"
|
||||
PyJWT = "^2.11.0"
|
||||
alembic = "^1.18.4"
|
||||
itsdangerous = "^2.2.0"
|
||||
python-dotenv = "^1.1.0"
|
||||
pydantic = {extras = ["dotenv"], version = "^2.11.5"}
|
||||
pandas = "^2.3.0"
|
||||
arq = "^0.26.3"
|
||||
python-dotenv = "^1.2.1"
|
||||
pydantic = {extras = ["dotenv"], version = "^2.12.5"}
|
||||
pandas = "^3.0.1"
|
||||
arq = "^0.27.0"
|
||||
openpyxl = "^3.1.5"
|
||||
cryptography = "^45.0.3"
|
||||
gunicorn = "^23.0.0"
|
||||
cryptography = "^46.0.5"
|
||||
gunicorn = "^25.1.0"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pre-commit = "^4.2.0"
|
||||
mypy = "^1.16.0"
|
||||
ruff = "^0.11.13"
|
||||
bandit = "^1.8.3"
|
||||
# safety = "^3.5.2"
|
||||
pre-commit = "^4.5.1"
|
||||
mypy = "^1.19.1"
|
||||
ruff = "^0.15.1"
|
||||
bandit = "^1.9.3"
|
||||
# safety = "^3.7.0"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
@@ -36,8 +36,8 @@ build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 120
|
||||
# Assume Python 3.13.
|
||||
target-version = "py313"
|
||||
# Assume Python 3.14.
|
||||
target-version = "py314"
|
||||
exclude = [
|
||||
".eggs",
|
||||
".git",
|
||||
@@ -98,18 +98,36 @@ line-ending = "auto"
|
||||
|
||||
[tool.mypy]
|
||||
# --strict
|
||||
disallow_any_generics = true
|
||||
disallow_subclassing_any = true
|
||||
disallow_untyped_calls = true
|
||||
disallow_untyped_defs = true
|
||||
disallow_incomplete_defs = true
|
||||
check_untyped_defs = true
|
||||
disallow_untyped_decorators = true
|
||||
no_implicit_optional = true
|
||||
warn_redundant_casts = true
|
||||
warn_unused_ignores = true
|
||||
|
||||
# Good safety defaults
|
||||
warn_return_any = true
|
||||
warn_unused_configs = true
|
||||
warn_redundant_casts = true
|
||||
warn_unused_ignores = true
|
||||
no_implicit_optional = true
|
||||
strict_equality = true
|
||||
plugins = ["sqlalchemy.ext.mypy.plugin"]
|
||||
|
||||
# Practical ergonomics
|
||||
pretty = true
|
||||
show_error_codes = true
|
||||
show_column_numbers = true
|
||||
error_summary = true
|
||||
|
||||
# These keep signal high in real-world FastAPI projects
|
||||
disallow_any_generics = true
|
||||
check_untyped_defs = true
|
||||
|
||||
# Start here; tighten later
|
||||
disallow_untyped_calls = true
|
||||
disallow_incomplete_defs = true
|
||||
disallow_subclassing_any = true
|
||||
disallow_untyped_defs = true
|
||||
disallow_untyped_decorators = true
|
||||
|
||||
plugins = ["sqlalchemy.ext.mypy.plugin", "pydantic.mypy"]
|
||||
# --strict end
|
||||
|
||||
[tool.pydantic-mypy]
|
||||
init_forbid_extra = true
|
||||
init_typed = true
|
||||
warn_required_dynamic_aliases = true
|
||||
Reference in new issue
Block a user