-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
98 lines (87 loc) · 2.15 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
[tool.poetry]
name = "simple-dataops-docker"
version = "0.0.0"
description = "A simple DataOps for wine recognition dataset on Docker"
authors = [
"dongminlee94 <[email protected]>",
"Kimdongui <[email protected]>",
]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10,<3.11"
apache-airflow = "~2.5.0"
scikit-learn = "~1.2.2"
pymongo = "~4.3.3"
pandas = "~2.0.1"
pika = "~1.3.2"
pymysql = "~1.0.3"
urllib3 = "~1.26.16"
boto3 = "~1.26.160"
[tool.poetry.dev-dependencies]
black = "~23.3.0"
mypy = "~1.4.1"
ruff = "~0.0.261"
pre-commit = "~3.2.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 110
[tool.ruff]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep-naming
"D", # pydocstyle
"B", # flakes-bugbear
"ANN",# flakes-annotations
"A", # flakes-builtins
"COM",# flakes-commas
"T10",# flakes-debugger
"SIM",# flakes-simplify
"ARG",# flakes-unused-arguments
"PLC",# pylint-convention
"PLE",# pylint-errors
"UP", # pyupgrade
"PL" # pylint
]
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["I", "D", "COM", "PLC", "UP", "W292"]
ignore = ["D104", "D406", "D407", "D408", "D409", "D415", "D203", "D213", "D417", "B905", "ANN002", "ANN003", "ANN101", "ANN102", "ANN401", "ANN204", "COM812", "D107", "N812", "A003", "B008"]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
per-file-ignores = {}
# Set up target Python version.
target-version = "py310"
# Set up isort configuration.
line-length = 110
show-source = true
# Set up pylint configuration.
pylint = {"max-args"=12, "max-statements"=60}
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
ignore_errors = true