-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
102 lines (96 loc) · 2.27 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "baec"
version = "0.1.0"
description = "Python SDK to create Model Generators and add them into the BAEC platform."
requires-python = ">=3.9"
dependencies = [
'numpy>1,<2',
'pandas>2,<3',
'cems-nuclei[client]>=0.5,<1',
'matplotlib>=3.8,<4',
"tqdm[notebook]>4,<5",
"pyproj>3,<4",
]
license = { file = "LICENSE" }
readme = "README.md"
keywords = ["API", "BAEC", "CEMS", "CRUX"]
[project.urls]
repository = "https://github.com/cemsbv/BAEC"
[project.optional-dependencies]
test = ["coveralls", "pytest", "requests-mock"]
docs = [
"Sphinx==6.1.3",
"sphinx-autodoc-typehints==1.22",
"ipython==8.11.0",
"asteroid-sphinx-theme==0.0.3",
"sphinx_rtd_theme>1.2,<2",
"enum-tools[sphinx]>=0.12,<0.13",
]
aws = [
"boto3>1.34,<2",
]
# lint dependencies from github super-linter v5
# See https://github.com/super-linter/super-linter/tree/main/dependencies/python
lint = [
"mypy==1.6.1",
"mypy-extensions==1.0.0",
"tomli==2.0.1",
"typing_extensions==4.7.1",
"black[jupyter]==23.10.1",
"click==8.1.3",
"packaging==23.2",
"pathspec==0.11.1",
"platformdirs==3.5.1",
"tomli==2.0.1,",
"isort==5.12.0",
"flake8==6.0.0",
"mccabe==0.7.0",
"pycodestyle==2.10.0",
"pyflakes==3.0.1",
'pandas-stubs>2,<3',
'types-tqdm>4,<5',
'boto3-stubs>1.34,<2',
'botocore-stubs>1.34,<2',
]
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
[tool.mypy]
files = ["src/baec"]
mypy_path = 'src'
namespace_packages = true
show_error_codes = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
disallow_subclassing_any = true
no_implicit_optional = true
disallow_untyped_defs = true
disallow_any_generics = false
disallow_untyped_calls = true
warn_return_any = false
no_implicit_reexport = true
strict_equality = true
install_types = true
[[tool.mypy.overrides]]
module = [
"matplotlib.*",
"requests.*",
"nuclei.*",
"pytest.*",
"scipy.*",
"pyproj.*",
"pandas.*",
"numpy.*",
"boto3.*",
"botocore.*",
]
ignore_missing_imports = true