forked from probberechts/soccerdata
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
99 lines (88 loc) · 2.27 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
[tool.poetry]
name = "fbrefdata"
version = "0.4.1"
description = "A scraper of soccer data from FBref."
authors = ["Lorenzo De Bernardini <[email protected]>"]
license = "Apache-2.0"
readme = 'README.md'
homepage = "https://github.com/lorenzodb1/fbrefdata"
repository = "https://github.com/lorenzodb1/fbrefdata"
keywords = ["fbref", "soccer", "football", "soccer data", "web scraping", "soccer analytics"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
pandas = "^2.0.0, !=2.1.0"
requests = "^2.23"
unicode = "^2.7"
lxml = "^5.0.0"
Unidecode = "^1.2.0"
rich = "^13.0.0"
PySocks = "^1.7.1"
html5lib = "^1.1"
undetected-chromedriver = "^3.5.0"
[tool.poetry.dev-dependencies]
pytest = "^8.0.0"
mypy = "^1.0"
pylint = "^3.0.0"
pytest-deadfixtures = "^2.2.1"
unify = "^0.5"
black = "^24.0.0"
Sphinx = "^7.0.0"
sphinx-autobuild = "^2024.0.0"
furo = "^2024.0.0"
coverage = {version = "^7.0", extras = ["toml"]}
pre-commit = "^3.0.0"
flake8 = "^7.0.0"
flake8-bugbear = "^24.0.0"
flake8-docstrings = "^1.6.0"
flake8-rst-docstrings = "^0.3.0"
pep8-naming = "^0.13.2"
darglint = "^1.8.1"
pre-commit-hooks = "^4.3.0"
Pygments = "^2.13.0"
time-machine = "^2.8.2"
pytest-mock = "^3.10.0"
bumpversion = "^0.6.0"
nbsphinx = "^0.9.0"
[tool.poetry.group.dev.dependencies]
nox = "^2023.4.22"
[tool.isort]
profile = "black"
src_paths = ["fbrefdata", "tests"]
balanced_wrapping = true
default_section = "THIRDPARTY"
include_trailing_comma = true
known_first_party = ["fbrefdata", "tests"]
line_length = 79
multi_line_output = 3
[tool.black]
line-length = 99
target-version = ['py38']
skip-string-normalization = 1
include = '\.pyi?$'
[tool.coverage.paths]
source = ["fbrefdata", "*/site-packages"]
[tool.coverage.run]
branch = true
source = ["fbrefdata"]
[tool.coverage.report]
show_missing = true
ignore_errors = true
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
no_implicit_optional = true
check_untyped_defs = true
show_error_codes = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = ["tests.*"]
disallow_untyped_defs = false
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"