-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
101 lines (92 loc) · 2.48 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
[tool.ruff.lint]
select = ["A", "E", "I", "U", "B", "C", "D", "F", "G", "RUF100", "N", "Q", "R", "S", "T", "W", "COM"]
ignore = [
# Multi-line docstring summary should start at the first line
"D212",
# No blank lines allowed after function docstring (found {num_lines})
"D202",
# Probable insecure usage of temporary file or directory: "{}"
"S108",
# Missing docstring in public module
"D100",
# Logging statement uses f-string
"G004",
# Possible SQL injection vector through string-based query construction
"S608",
# Checks for docstrings on class definitions that are not preceded by a blank line.
"D203",
# Checks for uses of the assert keyword.
"S101",
# Checks for module names that do not follow the snake_case naming convention or are otherwise invalid.
"N999",
]
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff]
# Same as Black.
line-length = 120
# Assume Python 3.10.
target-version = "py311"
[tool.poetry]
name = "connectors-to-databases"
version = "1.1.8"
description = "Python module for connect with DataBases"
authors = ["Ivan Korsakov <korsakov.iyu@gmail.com>"]
license = "Apache License"
readme = "README.md"
[tool.poetry.urls]
"Homepage" = "https://github.com/yourusername/your-repo"
"Bug Tracker" = "https://github.com/yourusername/your-repo/issues"
"PyPi" = "https://pypi.org/project/connectors-to-databases/"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "^3.11.1"
sqlalchemy = "^2.0.32"
pandas = "^2.2.2"
numpy = "1.26.4"
psycopg2-binary = "^2.9.9"
clickhouse-connect = "^0.7.18"
pymysql = "^1.1.1"
cryptography = "43.0.0"
#mariadb = "^1.1.7"
[tool.poetry.group.dev.dependencies]
python = "^3.11.1"
sqlalchemy = "^2.0.32"
pandas = "^2.2.2"
numpy = "1.26.4"
psycopg2-binary = "^2.9.9"
clickhouse-connect = "^0.7.18"
pymysql = "^1.1.1"
ruff = "^0.6.1"
pytest = "^8.3.2"
cryptography = "43.0.0"
#mariadb = "^1.1.7"