-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
161 lines (147 loc) · 4.76 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
[tool.poetry]
name = "datascience"
version = "0.1.0"
description = "Learning and exploring the field of Datascience, Machine Learning and Artificial Intelligence"
authors = ["Ultra-Code <[email protected]>"]
readme = "README.md"
packages = [{ include = "src" }]
[tool.poetry.dependencies]
python = "^3.12"
jupyterlab = "^4.2.4"
#packages used to run SQL in Jupyter
pymysql = "^1.1.1"
ipython-sql = "^0.5.0"
pygame = "^2.5.2"
pandas = "^2.2.2"
sqlalchemy = "^2.0.30"
matplotlib = "^3.9.0"
pyarrow = "^16.1.0"
scipy = "^1.13.1"
pytest = "^8.2.2"
scikit-learn = "^1.5.0"
ipympl = "^0.9.4"
statsmodels = "^0.14.2"
python-lsp-server = { extras = ["rope"], version = "^1.11.0" }
python-lsp-ruff = "^2.2.1"
jupyterlab-lsp = "^5.1.0"
nltk = "^3.8.1"
seaborn = "^0.13.2"
mlxtend = "^0.23.1"
cufflinks = "^0.17.3"
wordcloud = "^1.9.3"
geopandas = "^0.14.4"
ipywidgets = "^8.1.3"
chart-studio = "^1.1.0"
jupyterlab-widgets = "^3.0.11"
openpyxl = "^3.1.5"
[tool.poetry.group.dev.dependencies]
pandas-stubs = "^2.2.0.240218"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
# ignore_missing_imports = true
follow_imports = "normal"
disallow_any_unimported = true
disallow_any_expr = true
disallow_any_decorated = true
disallow_any_explicit = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
warn_unreachable = true
strict_equality = true
strict = true
cache_fine_grained = true
warn_incomplete_stub = true
verbosity = 0
[tool.pylsp-mypy]
enabled = true
live_mode = true
dmypy = false # it conflicts with live_mode
strict = true
exclude = ["tests/*"]
[tool.ruff]
line-length = 80
indent-width = 4
[tool.ruff.lint]
# Enable all rules and disable pydocstyle (`D`), pycodestyle warning (`W`)
# print found (`T20`) and assert detected (`S101`) warning
select = ["ALL"]
ignore = ["D", "W", "T20", "S101"]
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
# use double quotes for strings.
quote-style = "double"
# indent with spaces, rather than tabs.
indent-style = "space"
# respect magic trailing commas.
skip-magic-trailing-comma = false
# automatically detect the appropriate line ending.
line-ending = "auto"
[tool.pylint.main]
# Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
# number of processors available to use, and will cap the count on Windows to
# avoid hangs.
jobs = 0
# List of plugins (as comma separated values of python module names) to load,
# usually to register additional checkers.
load-plugins = [
"pylint.extensions.emptystring",
"pylint.extensions.comparetozero",
"pylint.extensions.comparison_placement",
"pylint.extensions.confusing_elif",
"pylint.extensions.for_any_all",
"pylint.extensions.consider_refactoring_into_while_condition",
"pylint.extensions.consider_ternary_expression",
"pylint.extensions.bad_builtin",
"pylint.extensions.dict_init_mutate",
"pylint.extensions.check_elif",
"pylint.extensions.empty_comment",
"pylint.extensions.eq_without_hash",
"pylint.extensions.private_import",
"pylint.extensions.redefined_variable_type",
"pylint.extensions.no_self_use",
"pylint.extensions.overlapping_exceptions",
"pylint.extensions.redefined_loop_name",
"pylint.extensions.set_membership",
"pylint.extensions.while_used",
]
[tool.pylint."messages control"]
# Disable the message, report, category or checker with the given id(s). You can
# either give multiple identifiers separated by comma (,) or put this option
# multiple times (only on the command line, not in the configuration file where
# it should appear only once). You can also use "--disable=all" to disable
# everything first and then re-enable specific checks. For example, if you want
# to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable = [
"too-many-return-statements",
"line-too-long",
"missing-module-docstring",
"missing-function-docstring",
"missing-class-docstring",
"wrong-import-position",
"unused-argument",
"unnecessary-lambda-assignment",
"unnecessary-direct-lambda-call",
"unnecessary-comprehension",
]
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where it
# should appear only once). See also the "--disable" option for examples.
enable = [
"raw-checker-failed",
"bad-inline-option",
"locally-disabled",
"file-ignored",
"suppressed-message",
"useless-suppression",
"deprecated-pragma",
"use-symbolic-message-instead",
]