forked from tathagat11/Kartik-Tathagata-AI-839-Major-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (66 loc) · 1.71 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "review_rating"
readme = "README.md"
dynamic = ["dependencies", "version"]
[project.scripts]
"review-rating" = "review_rating.__main__:main"
[project.entry-points."kedro.hooks"]
[project.optional-dependencies]
docs = [
"docutils<0.21",
"sphinx>=5.3,<7.3",
"sphinx_rtd_theme==2.0.0",
"nbsphinx==0.8.1",
"sphinx-autodoc-typehints==1.20.2",
"sphinx_copybutton==0.5.2",
"ipykernel>=5.3, <7.0",
"Jinja2<3.2.0",
"myst-parser>=1.0,<2.1"
]
dev = [
"pytest-cov~=3.0",
"pytest-mock>=1.7.1, <2.0",
"pytest~=7.2",
"ruff~=0.1.8"
]
[tool.setuptools.dynamic]
dependencies = {file = "requirements.txt"}
version = {attr = "review_rating.__version__"}
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.kedro]
package_name = "review_rating"
project_name = "review-rating"
kedro_init_version = "0.19.9"
tools = "['Linting', 'Testing', 'Custom Logging', 'Documentation', 'Data Structure', 'PySpark', 'Kedro Viz']"
example_pipeline = "False"
source_dir = "src"
[tool.pytest.ini_options]
addopts = """
--cov-report term-missing \
--cov src/review_rating -ra"""
[tool.coverage.report]
fail_under = 0
show_missing = true
exclude_lines = ["pragma: no cover", "raise NotImplementedError"]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff]
line-length = 88
show-fixes = true
select = [
"F", # Pyflakes
"W", # pycodestyle
"E", # pycodestyle
"I", # isort
"UP", # pyupgrade
"PL", # Pylint
"T201", # Print Statement
]
ignore = ["E501"] # Ruff format takes care of line-too-long
[tool.kedro_telemetry]
project_id = "ef16369a0a03498daa86374cb4c0967a"