-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
119 lines (109 loc) · 3.45 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
109
110
111
112
113
114
115
116
117
118
119
[build-system]
requires = [
"setuptools>=63.0",
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["woob", "woob.*", "weboob"]
[project]
name = "woob"
version = "3.6"
description = "Woob, Web Outside Of Browsers"
authors = [
{ name="Romain Bignon", email="[email protected]" }
]
readme = "README.rst"
license = { text="LGPL-3.0-or-later" }
keywords = ["scraping", "web", "banking"]
classifiers = [
"Environment :: Console",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Browsers",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup :: HTML"
]
requires-python = ">=3.7"
dependencies = [
"lxml",
# `requests` versions 2.32.0, 2.32.1, and 2.32.2 are affected by a bug breaking the ability to specify
# custom SSLContexts in sub-classes of HTTPAdapter (https://github.com/psf/requests/issues/6715) and another
# breaking the ability to load certificates with HTTPAdapters (https://github.com/psf/requests/issues/6730)
"requests >= 2.0.0, != 2.32.0, != 2.32.1, != 2.32.2, != 2.32.3",
"python-dateutil",
"PyYAML",
"html2text >= 3.200",
"unidecode",
"Pillow",
"Babel",
"packaging ~= 23.0",
"pycountry",
"rich ~= 13.0",
"termcolor",
"importlib-metadata ~= 6.7 ; python_version < '3.8'",
]
[project.urls]
"Homepage" = "https://woob.tech"
"Source" = "https://gitlab.com/woob/woob"
"Release notes" = "https://gitlab.com/woob/woob/-/releases"
"Documentation" = "https://woob.dev"
"Bug Tracker" = "https://gitlab.com/woob/woob/-/issues"
[project.scripts]
woob = "woob.launcher:Launcher.run"
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
update_changelog_on_bump = true
version = "3.6"
version_files = [
"pyproject.toml:version",
]
[tool.isort]
lines_after_imports = 2
include_trailing_comma = true
use_parentheses = true
no_inline_sort = true
multi_line_output = 5
known_first_party = ["woob", "woob_modules"]
line_length = 120
[tool.mypy]
show_error_codes = true
[tool.flake8]
max-line-length = 120
exclude = ['dist', '*.egg-info', 'build', '.git', '__pycache__', 'boilerplate_data']
extend-ignore =[
# Disabled because it doesn't allow exceptions, for example URLs or log
# messages shouldn't be split, less readable or searchable.
'E501',
# newline after binary operator
'W503',
# Too many leading '#' for block comment
# But it's a nice visual separator sometimes.
'E266',
# flake8-future-import: postponed annotations
'FI58',
# do not perform function calls in argument defaults: breaks fastapi qs definitions
'B008'
]
[tool.pytest.ini_options]
python_files = "tests/*.py test.py"
testpaths = [
"tests",
"woob/browser/browsers.py",
"woob/browser/pages.py",
"woob/browser/filters/standard.py",
"woob/browser/filters/json.py",
"woob/tools/json.py",
"woob/tools/misc.py",
"woob/browser/filters/file.py"
]