-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
71 lines (63 loc) · 1.88 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "fabric-cicd"
authors = [
{ name = "Microsoft Corporation" }
]
dynamic = ["version", "dependencies", "optional-dependencies"]
description = "Microsoft Fabric CI/CD"
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3"
]
license = { text = "MIT License" }
[tool.setuptools.dynamic]
version = {file = "VERSION"}
dependencies = {file = "requirements.txt"}
optional-dependencies.dev = {file = "requirements-dev.txt"}
[tool.setuptools.packages.find]
where = ["src"]
[project.urls]
Repository = "https://github.com/microsoft/fabric-cicd.git"
[tool.ruff]
line-length = 120
exclude = ["sample/*"]
[tool.ruff.lint]
# https://docs.astral.sh/ruff/rules/
select = [
"A", # flake8-builtins
"ARG", # flake8-unused-arguments
"B", # flake8-bugbear
"D", # pydocstyle
"EM", # flake8-errmsg
"F", # Pyflakes
"I", # isort
"INP", # flake8-no-pep420
"N", # pep8-naming
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"RET", # flake8-return
"RUF", # Ruff-specific rules
"SIM", # flake8-simplify
"UP", # pyupgrade
]
ignore = [
"D203", # No blank lines between a section header and its content
"D205", # 1 blank line required between summary line and description
"D212", # Multi-line docstring summary should start at the first line
"D400", # First line should end with a period
"D401", # First line should be in imperative mood
"D415", # First line should end with a period, question mark, or exclamation point
]
[tool.ruff.lint.per-file-ignores]
"{devtools,docs}/*" = [
"D100", # Missing docstring in public module
"D104", # Missing docstring in public package
"INP001" # Missing __init__ in package
]
[tool.ruff.format]
preview=true