-
Notifications
You must be signed in to change notification settings - Fork 67
/
pyproject.toml
98 lines (86 loc) · 2.35 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
[tool.poetry]
name = "chispa"
version = "0.10.1"
description = "Pyspark test helper library"
authors = ["Matthew Powers <[email protected]>"]
maintainers = [
"Semyon Sinchenko <[email protected]>",
"Florian Maas <[email protected]>"
]
repository = "https://github.com/MrPowers/chispa"
documentation = "https://mrpowers.github.io/chispa"
readme = "README.md"
license = "MIT"
keywords = ['apachespark', 'spark', 'pyspark', 'pytest']
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Framework :: Pytest",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
]
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
prettytable = "^3.10.2"
[tool.poetry.group.dev.dependencies]
pytest = "7.4.2"
pyspark = ">3.0.0"
findspark = "1.4.2"
pytest-describe = "^2.1.0"
pytest-cov = "^5.0.0"
pre-commit = "3.3.3"
mypy = "^1.11.0"
[tool.poetry.group.mkdocs.dependencies]
mkdocs = "^1.6.0"
mkdocstrings-python = "*"
mkdocs-gen-files = "*"
mkdocs-literate-nav = "*"
mkdocs-section-index = "*"
markdown-include = "*"
mkdocs-material = "*"
[tool.poetry.group.mkdocs]
optional = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py39"
line-length = 120
fix = true
[tool.ruff.format]
preview = true
[tool.ruff.lint]
select = ["E", "F", "I", "RUF", "UP"]
ignore = [
# Line too long
"E501"
]
[tool.ruff.lint.flake8-type-checking]
strict = true
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "S603"]
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
[tool.mypy]
files = ["chispa"]
explicit_package_bases = true
disallow_any_unimported = true
enable_error_code = [
"ignore-without-code",
"redundant-expr",
"truthy-bool",
]
strict = true
pretty = true
show_error_codes = true