-
Notifications
You must be signed in to change notification settings - Fork 147
/
pyproject.toml
93 lines (82 loc) · 2.61 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
[build-system]
requires = ["Cython >= 3.0.0", "setuptools >= 67", "wheel >= 0.40"]
build-backend = "setuptools.build_meta"
[project]
name = "pyrfc"
version = "3.4"
readme = "README.md"
license = { file = "LICENSES/Apache-2.0.txt" }
description = "Python bindings for SAP NetWeaver RFC SDK"
authors = [ { name = "SAP SE"}, { email = "[email protected]" } ]
maintainers = [ { name = "Srdjan Boskovic", email = "[email protected]" } ]
requires-python = ">=3.8"
keywords = ["pyrfc", "sap", "nwrfc", "sapnwrfc", "abap"]
classifiers = [
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Cython",
"Programming Language :: Python",
"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",
"Programming Language :: Python :: 3 :: Only"
]
dependencies = []
[project.urls]
bug-tracker = "https://github.com/wntrblm/nox/issues"
documentation = "http://sap.github.io/PyRFC"
homepage = "https://github.com/SAP/PyRFC"
repository = "https://github.com/SAP/PyRFC.git"
[tool.cython-lint]
max-line-length = 172
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = false
license-files=["LICENSES/*.txt"]
[tool.setuptools.packages.find]
where = ["src"]
include = ["pyrfc"]
[tool.pytest.ini_options]
minversion = "7.4"
testpaths =["tests"]
[tool.ruff]
preview = true
respect-gitignore = true
line-length = 88
target-version = "py38"
[tool.ruff.lint]
select = [
"C90", # McCabe cyclomatic complexity
"E", # pycodestyle
"F", # Pyflakes
"ICN", # flake8-import-conventions
"INT", # flake8-gettext
"PLC", # Pylint conventions
"PLE", # Pylint errors
"PLR09", # Pylint refactoring: max-args, max-branches, max returns, max-statements
"PYI", # flake8-pyi
"RSE", # flake8-raise
"RUF", # Ruff-specific rules
"T10", # flake8-debugger
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"W", # pycodestyle
"YTT", # flake8-2020
]
[tool.ruff.lint.mccabe]
max-complexity = 12
[tool.ruff.lint.per-file-ignores]
"src/pyrfc/__init__.py" = ["F401"]
[tool.ruff.format]
# same as Black
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"