-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
51 lines (46 loc) · 1.46 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
[project]
name = "sitemap-tools"
version = "2.0"
description='Media Cloud news sitemap tools'
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"mediacloud-metadata>=1.1", # loose, since user may also have requirements
"requests", # leave un-versioned so dependencies can sort of which version is best
]
[tool.isort]
profile = "black"
[tool.mypy]
# from rss-fetcher via story-indexer:
# originally from https://blog.wolt.com/engineering/2021/09/30/professional-grade-mypy-configuration/
disallow_untyped_defs = true
disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = true
warn_unused_ignores = true
show_error_codes = true
[project.optional-dependencies]
# additional dependencies required for development (outside of mypy)
# for pre-commit hook (and "make lint")
dev = [
"pre-commit"
]
# dependencies for pre-commit (for mypy):
# .pre-commit-config.yaml uses .pre-commit-run.sh
# to (re)install these in the pre-commit PRIVATE venv
# if this file has changed.
pre-commit = [
"types-requests",
"types-urllib3"
]
[project.urls]
"Homepage" = "https://mediacloud.org"
"Bug Tracker" = "https://github.com/mediacloud/sitemap-tools/issues"
"Source Code" = "https://github.com/mediacloud/sitemap-tools"