-
Notifications
You must be signed in to change notification settings - Fork 99
/
pyproject.toml
105 lines (88 loc) · 2.95 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
[tool.poetry]
name = "quinn"
version = "0.10.3"
description = "Pyspark helper methods to maximize developer efficiency"
authors = ["MrPowers <matthewkevinpowers@gmail.com>"]
# Maintainers of the project
maintainers = [
"SemyonSinchenko <ssinchenko@apache.org>"
]
readme = "README.md"
homepage = "https://github.com/MrPowers/quinn/"
keywords = ['apachespark', 'spark', 'pyspark']
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
###########################################################################
# MAIN DEPENDENCIES
###########################################################################
[tool.poetry.dependencies]
python = ">=3.7,<4.0"
###########################################################################
# DEPENDENCY GROUPS
###########################################################################
[tool.poetry.group.development]
optional = true
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.testing]
optional = true
[tool.poetry.group.linting]
optional = true
[tool.poetry.group.development.dependencies]
pyspark = ">2"
semver = "^3"
[tool.poetry.group.testing.dependencies]
pytest = "^7"
chispa = "0.9.4"
pytest-describe = "^2"
pyspark = ">2"
semver = "^3"
[tool.poetry.group.linting.dependencies]
ruff = "^0.0.291"
[tool.poetry.group.docs.dependencies]
mkdocstrings-python = "^0.8.3"
mkdocs-gen-files = "^0.4.0"
mkdocs-literate-nav = "^0.6.0"
mkdocs-section-index = "^0.3.5"
markdown-include = "^0.8.1"
mkdocs = "^1"
jupyterlab = "*"
mkdocs-jupyter = "*"
mkdocs-material = "*"
pymdown-extensions = "*"
mkdocs-macros-plugin = "*"
mkdocs-material-extensions = "*"
markdown-exec = "*"
###########################################################################
# LINTING CONFIGURATION
###########################################################################
[tool.ruff]
select = ["ALL"]
line-length = 150
ignore = [
"D100",
"D203", # Ignore blank line before summary of class
"D213", # Ignore multiline summary second line
"T201", # Allow print() in code.
"D401", # Docstrings should be in imperative modes
"D404", # Boring thing about how to write docsrings
"FBT001", # Boolean positional arg is OK
"FBT002", # Boolean default arg value is OK
"D205", # It is broken
"TCH003", # I have no idea what is it about
"PLC1901", # Strange thing
"UP007", # Not supported in py3.6
"UP038", # Not supported in all py versions
"SIM108", # Don't create long ternary operators
"PTH123", # Don't force use of Pathlib
"PTH207", # Don't force use of Pathlib
"PTH113", # Don't force use of Pathlib
]
extend-exclude = ["tests", "docs"]
[tool.ruff.per-file-ignores]
"quinn/extensions/column_ext.py" = ["FBT003", "N802"]
"quinn/extensions/__init__.py" = ["F401", "F403"]
"quinn/__init__.py" = ["F401", "F403"]
"quinn/functions.py" = ["FBT003"]
"quinn/keyword_finder.py" = ["A002"]