-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
51 lines (42 loc) · 1.53 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
[tool.poetry]
name = "ds-template"
version = "0.1.0"
description = "A template for Data Science projects."
readme = "README.md"
license = "MIT"
authors = ["Altieris Peixoto <github.com/altierispeixoto>", "Anthony Caliani <github.com/avcaliani>"]
[tool.poetry.dependencies]
PyScaffold = "^4.5.0"
python = "^3.9" # Using caret allows for updates within compatible versions, no need to specify upper limit unless necessary
hydra-core = "^1.3.2"
dvc = "^3.51.2"
[tool.poetry.dev-dependencies]
pytest = "^7.1.1"
pytest-cov = "^3.0.0"
pre-commit = "^2.17.0"
[tool.poetry.plugins."pyscaffold.cli"]
ds_template = "pyscaffoldext.ds_template.extension:CustomExtension"
[tool.black]
line-length = 110
target-version = ["py310"] # Updated to reflect the supported Python version
[tool.isort]
profile = "black"
line_length = 110
multi_line_output = 3
include_trailing_comma = true
known_first_party = ["src"]
force_grid_wrap = 0
use_parentheses = true
known_local_folder = ["src", "tests"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
default_section = "THIRDPARTY"
[tool.pytest.ini_options]
testpaths = "tests"
addopts = "-vv --tb=native --cov=src"
[tool.coverage.report]
exclude_lines = ["pragma: no cover"] # More explicit directive for excluding lines from coverage
show_missing = true
omit = ["*/__init__.py", "*/config.py"] # Example of omitting files that typically don't need coverage
[build-system]
requires = ["poetry-core>=1.8.0"] # Specify a more recent patch version if needed
build-backend = "poetry.core.masonry.api"