-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (76 loc) · 2.18 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (76 loc) · 2.18 KB
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
[build-system]
requires = [ "setuptools>=41.0.1",]
build-backend = "setuptools.build_meta"
[tool.xcookie]
tags = [ "gitlab", "kitware", "purepy", "cv2", "gdal", "postgresql"]
mod_name = "kwcoco"
repo_name = "kwcoco"
rel_mod_parent_dpath = "."
min_python = '3.8'
main_python = '3.13'
url = "https://gitlab.kitware.com/computer-vision/kwcoco"
ci_cpython_versions = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
extra_full_strict_lines = [
"pip install GDAL==3.3.1 --find-links https://girder.github.io/large_image_wheels -U",
]
extra_full_loose_lines = [
"pip install GDAL>=3.3.1 --find-links https://girder.github.io/large_image_wheels -U",
]
author = "Jon Crall"
author_email = "jon.crall@kitware.com"
license = "Apache 2"
description = "The kwcoco module and cli for image datasets"
dev_status = "beta"
typed = true
render_doc_images = 1
[tool.xcookie.entry_points]
# the console_scripts entry point creates the xdoctest executable
console_scripts = [
"kwcoco = kwcoco.cli.__main__:main",
]
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
".* # pragma: no cover",
".* # nocover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if trace is not None",
"verbose = .*",
"^ *raise",
"^ *pass *$",
"if _debug:",
"if __name__ == .__main__.:",
".*if six.PY2:",
]
omit = [ "kwcoco/__main__.py", "*/setup.py",]
[tool.mypy]
ignore_missing_imports = true
[tool.codespell]
skip = ['./docs/build', './*.egg-info', './build', './htmlcov']
count = true
quiet-level = 3
ignore-words-list = ["fpr", 'ANS', 'ans', 'numer', 'wont', 'cant', 'ANS', 'doesnt', 'arent', 'ans', 'thats', 'datas', 'isnt', 'nd', 'bu', 'hasnt', 'didnt']
[tool.ty.src]
exclude = []
[tool.ty.rules]
unused-ignore-comment = "ignore"
unused-type-ignore-comment = "ignore"
unresolved-import = "ignore"
[tool.ruff.lint]
# Select all rules (optional, if you want to explicitly select all)
# select = ["ALL"]
# Ignore specific rules project-wide
ignore = [
"E402", # Module level import not at top of file
]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false