-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
79 lines (71 loc) · 1.96 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
[tool.poetry]
name = "xurls"
version = "1.2.1"
description = "Python URL Library"
authors = ["Josh Orr <[email protected]>"]
packages = [{include = "xurls"}]
readme = "README.md"
repository = "https://github.com/xyngular/py-xurls"
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: The Unlicense (Unlicense)"
]
[tool.poetry.dependencies]
python = "^3.10"
xsentinels = "^1.2.1"
xloop = "^1.0.1"
[tool.poetry.dev-dependencies]
ipdb = "^0.13.9"
autopep8 = "^1.5.7"
pycodestyle = "^2.7.0"
pdoc3 = "^0"
pylint = "^2.9.5"
pytest = "^6.2.4"
pytest-mock = "^3.6.1"
pytest-pycodestyle = "^2.2.0"
black = {version = "*", allow-prereleases = true}
boto3-stubs = { extras = ["essential"], version = "*" }
mkdocstrings = { extras = ["python"], version = "^0" }
mkdocs-autorefs = "^0"
mkdocs-git-revision-date-plugin = "^0"
mkdocs = "^1.4.2"
mkdocs-material = "^9.0.12"
mike = "^1.1.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.custom.xpublish]
extra-module-docs = ['xsentinels', 'xloop']
[tool.pytest.ini_options]
minversion = "6.0"
# By default, reuse db schema
# (speeds up unit test starts after first unit test run)
# If test-db schmea gets messed up, drop `--reuse-db`
# and it will recreate db next time you run unit tests.
addopts = "--verbose --pycodestyle"
testpaths = ["tests", "xurls"]
python_files = "tests.py test_*.py *_tests.py tests/*"
norecursedirs = "lib/* tests/scripts .serverless .eggs dist/* node_modules"
[tool.black]
line-length = 99
skip-string-normalization = 1
target_version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''