-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
108 lines (97 loc) · 2.6 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
102
103
104
105
106
107
108
[tool.poetry]
name = "changedet"
version = "0.1.0"
homepage = "https://github.com/ashnair1/changedet"
description = "Change Detection Toolbox."
authors = ["Ashwin Nair <[email protected]>"]
readme = "README.md"
license = "MIT"
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
packages = [
{ include = "changedet" },
{ include = "tests", format = "sdist" },
]
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
fire = ">=0.4.0"
rasterio = "^1.2.0"
matplotlib = "^3.4.2"
numpy = "^1.20.3"
scipy = "^1.6.3"
termcolor = "^1.1.0"
types-termcolor = "^1.1.2"
tqdm = "^4.61.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = { version = "^24.3.0"}
coverage = {extras = ["toml"], version = "^6.2"}
isort = { version = "^5.10.0"}
flake8 = { version = "^3.9.2"}
flake8-docstrings = { version = "^1.6.0"}
pytest = { version = "^6.2.0"}
pytest-cov = { version = "^2.10.1"}
virtualenv = { version = "^20.2.2"}
pip = { version = "^22.0"}
twine = { version = "^3.3.0"}
pre-commit = {version = "^2.12.0"}
toml = {version = "^0.10.2"}
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
livereload = {version = "^2.6.3", optional = true}
mkdocs = { version = "^1.3.0"}
mkdocs-include-markdown-plugin = { version = "^6.0.0"}
mkdocs-material = { version = "^9.5.0"}
mkdocstrings = { version = "^0.24.0"}
mkdocstrings-python = { version = "^1.0.0"}
mkdocs-literate-nav = {version = "^0.6.0"}
mkdocs-gen-files = {version = "^0.5.0"}
mkdocs-section-index = {version = "^0.3.1"}
mkdocs-autorefs = {version = "^1.0.0"}
[tool.poetry.scripts]
changedet = 'changedet.cli:main'
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 90
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
sections = ['FUTURE','STDLIB','THIRDPARTY','FIRSTPARTY','LOCALFOLDER']
known_first_party = ['changedet']
known_third_party = ['torch','numpy']
force_grid_wrap = 0
line_length = 90
multi_line_output = 3
[tool.coverage.run]
source = ["changedet"]
branch = true
omit = ["changedet/cli.py"]
[tool.coverage.report]
show_missing = true
fail_under = 75
exclude_lines = ["pragma: no cover", "raise NotImplementedError"]