-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (95 loc) · 2.34 KB
/
pyproject.toml
File metadata and controls
110 lines (95 loc) · 2.34 KB
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
103
104
105
106
107
108
109
110
[tool.poetry]
name = "hot_cold_simulation"
version = "0.1.0"
description = ""
authors = ["JRickey <jack.rickey99@gmail.com>"]
repository = "https://github.com/easierdata/Hot-Cold-Simulation"
readme = "README.md"
packages = [
{ include = "hot_cold_simulation" }
]
[tool.poetry.dependencies]
python = ">=3.12,<3.13"
matplotlib = "^3.8.0"
geopandas = "0.14.0"
psycopg2 = "2.9.9"
plotly = "5.17.0"
numpy = "1.26.0"
pandas = "2.1.1"
requests = "^2.31.0"
python-dotenv = "^1.0.0"
[tool.poetry.group.dev.dependencies]
black = "^23.9.1"
mypy = "^1.6.0"
isort = "^5.12.0"
pre-commit = "^3.4.0"
ruff = "^0.0.292"
python-dotenv = "^1.0.0"
ipykernel = "^6.29.3"
[tool.poetry.scripts]
generate-config = "hot_cold_simulation.utils.generate_config:generate"
run-analysis = "hot_cold_simulation.hot_cold_analysis:run_analysis"
[tool.black]
line-length = 88
include = '''
(
\.pyi?$
| ^/tests/
)
'''
exclude = '''
/(
^\.git
| ^\.mypy_cache
| __pycache__
| ^\.venv
)/
'''
[tool.mypy]
# Vist link to get more info on rules: https://mypy.readthedocs.io/en/stable/config_file.html
exclude = [
'.venv',
]
pretty = "True"
color_output = "True"
show_column_numbers = "True"
show_error_context = "True"
ignore_missing_imports = "True"
[tool.ruff]
# The directories to consider/allow import relative to the project root directory.
src = ["test"]
# A list of rule codes or prefixes to enable
# Vist link to get more info on rules: https://beta.ruff.rs/docs/rules/
ignore = ["E501"]
select = ["B","C","E","F","W","B9", "I", "Q", "ISC", "INP", "PTH", "FLY", "PERF", "RUF"]
# Allow autofix for all enabled rules (when `--fix`) is provided.
# Note, if using pre-commit, ensure that ruff is placed before other formatting tool
# hooks as the autofix behavior can output code changes that require reformatting.
fix = true
unfixable = []
# Enumerate all fixed violations and the associated violation id.
show-fixes = true
# Common file and directory settings to include/exclude.
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]
exclude = [
"__pycache__",
"__pypackages__",
".direnv",
".eggs",
".git-rewrite",
".git",
".mypy_cache",
".pytest_cache",
".pytype",
".ruff_cache",
".tox",
".venv",
"build",
"dist",
"venv",
]
# Same as Black.
line-length = 88
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"