-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
## Summary Fixes #1779 ### Time to review: __1 mins__
- Loading branch information
1 parent
d45191c
commit f60e8ea
Showing
2 changed files
with
45 additions
and
31 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ authors = ["Nava Engineering <[email protected]>"] | |
|
||
[tool.poetry.dependencies] | ||
python = "^3.12" | ||
SQLAlchemy = {version = "^2.0.21", extras = ["mypy"]} | ||
SQLAlchemy = { version = "^2.0.21", extras = ["mypy"] } | ||
alembic = "^1.12.0" | ||
python-dotenv = "^1.0.0" | ||
pydantic = "^2.4.2" | ||
|
@@ -16,18 +16,18 @@ boto3 = "^1.28.62" | |
smart-open = "^6.1.0" | ||
pytz = "^2023.3.post1" | ||
APIFlask = "^2.1.0" | ||
marshmallow-dataclass = {extras = ["enum", "union"], version = "^8.5.8"} | ||
marshmallow-dataclass = { extras = ["enum", "union"], version = "^8.5.8" } | ||
marshmallow = "^3.20.1" | ||
gunicorn = "^21.2.0" | ||
psycopg = {extras = ["binary"], version = "^3.1.10"} | ||
gunicorn = "^22.0.0" | ||
psycopg = { extras = ["binary"], version = "^3.1.10" } | ||
pydantic-settings = "^2.0.3" | ||
flask-cors = "^4.0.0" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
black = "^23.9.1" | ||
isort = "^5.12.0" | ||
mypy = "^1.8.0" | ||
moto = {extras = ["s3"], version = "^4.0.2"} | ||
moto = { extras = ["s3"], version = "^4.0.2" } | ||
types-pytz = "^2023.3.1.1" | ||
coverage = "^7.3.2" | ||
Faker = "^19.8.0" | ||
|
@@ -80,11 +80,11 @@ ignore = [ | |
"E266", | ||
# Ignore line-too-long errors, assume the formatter handles that appropriately | ||
"E501", | ||
# Ignore rules regarding unecessary list / generator usage which complains about [e for e in MyEnum] | ||
# Ignore rules regarding unecessary list / generator usage which complains about [e for e in MyEnum] # | ||
"C4", | ||
# Ignore rule that flags functions with many branches - sometimes we just have a lot of | ||
# business rules that make sense to aggregate in one place. | ||
"C901" | ||
"C901", | ||
] | ||
|
||
|
||
|
@@ -130,10 +130,12 @@ disallow_untyped_defs = false | |
# When a library has addressed its deprecation issues and we've updated the | ||
# library, we can remove the ignore filter for that library. | ||
filterwarnings = [ | ||
"ignore::DeprecationWarning:botocore.*"] # pytest-watch errors if the closing bracket is on it's own line | ||
"ignore::DeprecationWarning:botocore.*", | ||
] # pytest-watch errors if the closing bracket is on it's own line | ||
|
||
markers = [ | ||
"audit: mark a test as a security audit log test, to be run isolated from other tests"] | ||
"audit: mark a test as a security audit log test, to be run isolated from other tests", | ||
] | ||
|
||
[tool.coverage.run] | ||
omit = [ | ||
|
@@ -142,7 +144,7 @@ omit = [ | |
# app_config only runs via the gunicorn script which doens't happen locally | ||
"src/app_config.py", | ||
# Migrations aren't run in tests | ||
"src/db/migrations/**" | ||
"src/db/migrations/**", | ||
] | ||
|
||
[tool.coverage.report] | ||
|
@@ -153,5 +155,5 @@ exclude_lines = [ | |
# code coverage reports as they won't ever directly run | ||
"@abc.abstractmethod", | ||
"@abstractmethod", | ||
"@typing.overload" | ||
"@typing.overload", | ||
] |