-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpyproject.toml
104 lines (93 loc) · 2.72 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
[project]
name = "data-factory-testing-framework"
dynamic = ["version"]
authors = [
{name = "Data Factory Testing Framework", email = "[email protected]"},
]
requires-python = ">=3.9,<3.13"
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
description = "A stand-alone test framework that allows to write unit tests for Data Factory pipelines on Microsoft Fabric and Azure Data Factory."
readme = "README.md"
license = { file="LICENSE" }
keywords = ["fabric", "datafactory", "unit-testing", "functional-testing", "azure"]
dependencies = [
"lark>=1.1.8,<2.0.0",
"pythonnet>=3.0.3,<4.0.0"
]
[project.urls]
Homepage = "https://github.com/microsoft/data-factory-testing-framework"
Documentation = "https://github.com/microsoft/data-factory-testing-framework/blob/main/README.md"
Issues = "https://github.com/microsoft/data-factory-testing-framework/issues"
Source = "https://github.com/microsoft/data-factory-testing-framework.git"
[tool.poetry]
package-mode = false
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
lark = "^1.1.8"
pythonnet = "^3.0.3"
[tool.poetry.group.dev.dependencies]
mutatest = "^3.1.0"
pytest = "^7.4.3"
ruff = "^0.1.5"
pre-commit = "^3.5.0"
astor = "^0.8.1"
docstring-parser = "^0.15"
build = "^1.1.1"
wheel = "^0.43.0"
setuptools = "^70.0"
[tool.ruff]
select = [
"A", # flake8 builtins
"ANN", # annotations
"B", # bugbear
"COM", # flake8 commas
"D", # Pydoc style docstrings
"E", # PEP8 conventions
"F", # pyflakes
"N", # PEP8 naming conventions
"I"
]
ignore = [
"ANN101", # Ignore missing type annotation for self in method
"D100", # Ignore missing docstring in public module
"D101",
"D102",
"D103",
"D104", # Ignore missing docstring in public package
# ruff format conflicts certain rules (see https://docs.astral.sh/ruff/formatter/#format-suppression)
"E111",
"E114",
"E117",
"COM812",
"COM819",
"D206",
"D300",
"ISC001",
"ISC002",
"Q000",
"Q001",
"Q002",
"Q003",
"W191",
]
extend-exclude = ["azure_data_factory_testing_framework/data_factory/generated/**"]
line-length = 120
[tool.ruff.lint.pycodestyle]
max-line-length = 160 # relax line length limit to 140 characters (wrapping happens at 120)
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
minversion = "7.0"
pythonpath = ["."]
[tool.setuptools.package-data]
data_factory_testing_framework = []
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"