@@ -5,35 +5,35 @@ description = "Open source broadcast automation system"
55authors = [
" Nebula Broadcast <[email protected] >" ]
66requires-python = " >=3.11,<3.13"
77dependencies = [
8- " aiofiles >=24.1.0" ,
9- " asyncpg >=0.29.0" ,
10- " email-validator >=2.1.1" ,
11- " fastapi >=0.115.0" ,
12- " geoip2 >=4.8.0" ,
13- " granian >=1.6.0" ,
14- " gunicorn >=22.0.0" ,
15- " httpx >=0.27.2" ,
16- " mistune >=3.0.1" ,
17- " nxtools >=1.6" ,
18- " pydantic >=2.9.2" ,
19- " python-dotenv >=1.0.1" ,
20- " redis >=5.1.0" ,
21- " requests >=2.32.3" ,
22- " rich >=13.8.0" ,
23- " shortuuid >=1.0.12" ,
24- " user-agents >=2.2.0" ,
25- " uvicorn[standard] >=0.31.0"
8+ " aiofiles >=24.1.0" ,
9+ " asyncpg >=0.29.0" ,
10+ " email-validator >=2.1.1" ,
11+ " fastapi >=0.115.0" ,
12+ " geoip2 >=4.8.0" ,
13+ " granian >=1.6.0" ,
14+ " gunicorn >=22.0.0" ,
15+ " httpx >=0.27.2" ,
16+ " mistune >=3.0.1" ,
17+ " nxtools >=1.6" ,
18+ " pydantic >=2.9.2" ,
19+ " python-dotenv >=1.0.1" ,
20+ " redis >=5.1.0" ,
21+ " requests >=2.32.3" ,
22+ " rich >=13.8.0" ,
23+ " shortuuid >=1.0.12" ,
24+ " user-agents >=2.2.0" ,
25+ " uvicorn[standard] >=0.31.0" ,
2626]
2727
2828[dependency-groups ]
2929dev = [
30- " asyncpg-stubs >=0.29.1" ,
31- " mypy >=1.11" ,
32- " pytest >=8.0" ,
33- " pytest-asyncio >=0.20.3" ,
34- " ruff >=0.6.8" ,
35- " types-aiofiles >=23.2.0.20240311" ,
36- " types-requests >=2.31.0.20240311" ,
30+ " asyncpg-stubs >=0.29.1" ,
31+ " mypy >=1.11" ,
32+ " pytest >=8.0" ,
33+ " pytest-asyncio >=0.20.3" ,
34+ " ruff >=0.6.8" ,
35+ " types-aiofiles >=23.2.0.20240311" ,
36+ " types-requests >=2.31.0.20240311" ,
3737]
3838
3939#
@@ -63,24 +63,23 @@ select = [
6363 " ASYNC" , # flake8-async
6464 " SIM" , # flake8-simplify
6565 " ISC" , # flake8-implicit-str-concat
66- # "ANN", # flake8-annotations
66+ " S" , # flake8-bandit
67+ " Q" , # flake8-quotes
68+ # "FBT", # flake8-boolean-trap (nope)
69+ # "ANN", # flake8-annotations (disallows Any :-( )
6770 # "N", # pep8-naming
6871 # "D", # pydocstyle
69- # "S", # flake8-bandit
7072]
7173
7274ignore = [
73- " ISC001" ,
74- " B008" , # do not perform function calls in argument defaults
75- " C901" , # too complex. C'mon - this is a complex project
76- " ASYNC110" , # let us sleep
75+ " S101" , # asserts - slowly removing
76+ " S608" , # string-based SQL query construction
77+ " S307" , # eval (used somewhere)
7778]
7879
7980[tool .mypy ]
8081plugins = [" pydantic.mypy" ]
81-
82- # follow_imports = "silent"
83- # strict = true
82+ # strict = true
8483warn_redundant_casts = true
8584warn_unused_ignores = true
8685disallow_any_generics = true
@@ -89,10 +88,10 @@ disallow_untyped_defs = true
8988no_implicit_reexport = true
9089explicit_package_bases = true
9190strict_optional = true
92- exclude = " tests/|venv/"
91+ exclude = " tests/|. venv/"
9392
9493[[tool .mypy .overrides ]]
95- module = [" nxtools" , " user_agents" , " tomllib " ]
94+ module = [" nxtools" , " user_agents" ]
9695ignore_errors = true
9796follow_imports = " skip"
9897ignore_missing_imports = true
0 commit comments