-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AL-5642: Create bs common library for sign and build nodes
- Loading branch information
Showing
31 changed files
with
7,882 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
[build-system] | ||
requires = ["setuptools>=42", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "build-system-common-library" | ||
version = "0.1.0" | ||
description = "Build System Common Library" | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
license = { text = "MIT" } | ||
authors = [{ name = "Maxim Petukhov", email = "[email protected]" }] | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
] | ||
|
||
[project.optional-dependencies] | ||
|
||
builder = [ | ||
"pydantic==2.9.2", | ||
"pycurl==7.45.3", | ||
"plumbum==1.9.0", | ||
"lmdb==1.5.1", | ||
"lxml==5.3.0", | ||
"pyyaml==6.0.2", | ||
"configparser==7.1.0", | ||
"GitPython==3.1.43", | ||
"pygments==2.18.0", | ||
"python-rpm-spec==0.15.0", | ||
] | ||
|
||
signer = [ | ||
"pycurl==7.45.3", | ||
"plumbum==1.9.0", | ||
"python-gnupg==0.5.3", | ||
"pgpy==0.6.0", | ||
"pexpect==4.9.0", | ||
] | ||
|
||
file-utils = [ | ||
"pycurl==7.45.3", | ||
"plumbum==1.9.0", | ||
] | ||
|
||
dev = [ | ||
"pytest==8.3.3", | ||
"pytest-cov==5.0.0", | ||
"pyfakefs==5.6.0", | ||
"black==24.8.0", | ||
"pylint==3.3.1", | ||
"isort[colors]==5.13.2", | ||
"bandit[toml]==1.7.10", | ||
] | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
split_on_trailing_comma = true | ||
|
||
[tool.black] | ||
line-length = 80 | ||
skip-string-normalization = true | ||
# see https://black.readthedocs.io/en/stable/the_black_code_style/future_style.html#preview-style | ||
preview = true | ||
enable-unstable-feature = ["hug_parens_with_braces_and_square_brackets"] | ||
|
||
[tool.pylint] | ||
max-line-length = 80 | ||
|
||
# Minimum line length for functions/classes that require docstrings | ||
docstring-min-length = 50 | ||
|
||
# https://pylint.readthedocs.io/en/stable/user_guide/checkers/features.html | ||
disable = [ | ||
"C0114", # missing-module-docstring | ||
"R0902", # too-many-instance-attributes | ||
"R0913", # too-many-arguments | ||
"W1514", # unspecified-encoding | ||
] | ||
|
||
[tool.coverage.run] | ||
source = ['.'] | ||
|
||
[tool.coverage.report] | ||
skip_empty = true | ||
include = ['src/common_library/*'] | ||
|
||
[tool.pytest.ini_options] | ||
pythonpath = '.' | ||
testpaths = ['tests'] |
Empty file.
Empty file.
Oops, something went wrong.