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 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
|
[build-system]
requires = ["setuptools>=68.0", "wheel", "setuptools-scm>=8"]
build-backend = "build_backend"
backend-path = ["."]
[project]
dynamic = ["version", "dependencies"]
name = "libuuu"
description = "A python wraper for libuuu."
requires-python = ">= 3.9"
authors = [{ name = "NXP" }]
maintainers = []
readme = { file = "README.md", content-type = "text/markdown" }
license = { text = "BSD-3-Clause" }
keywords = ["NXP"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[tool.setuptools]
packages = ["libuuu"]
[tool.setuptools.package-data]
"libuuu.lib.windows.x86_64" = [
"*.dll"
]
"libuuu.lib.linux.x86_64" = [
"*.so"
]
"libuuu.lib.linux.aarch64" = [
"*.so"
]
"libuuu.lib.darwin.arm64" = [
"*.dylib"
]
"libuuu.lib.darwin.x86_64" = [
"*.dylib"
]
[tool.setuptools_scm]
root = ".."
version_file = "libuuu/__version__.py"
tag_regex = "^(?P<prefix>uuu_)?(?P<version>\\d+(\\.\\d+)*)$"
local_scheme = "no-local-version"
fallback_version = "0.0.0"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[project.urls]
Homepage = "https://github.com/nxp-imx/mfgtools/tree/master/wrapper"
#Issues = ""
[tool.pytest.ini_options]
testpaths = ["tests"]
junit_family = "xunit1"
[tool.black]
line-length = 100
target-version = ["py39", "py310", "py311"]
include = '\.pyi?$'
[tool.isort]
skip = ["__version__.py"]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 100
[tool.mypy]
disallow_untyped_defs = true
ignore_missing_imports = true
warn_unused_ignores = true
[tool.pydocstyle]
convention = "google"
add_ignore = "D105,D301"
match = '(?!test_|__version__).*\.py'
[tool.pylint]
format = { max-line-length = 120 }
"messages control" = { disable = ["logging-fstring-interpolation"] }
[tool.nxp_codecheck]
git_parent_branch = "origin/master"
output_directory = "reports"
default_check_paths = ["libuuu", "tests", "build_backend.py"]
# *********************************** Checker list ***********************************
[[tool.nxp_codecheck.checkers]]
name = "PYTEST"
method = "check_pytest"
# check_paths = [] # The default check paths could be overrides by local settings
info_only = false
kwargs = { disable_xdist = true }
# dependencies = ["PYTEST"]
[[tool.nxp_codecheck.checkers]]
name = "PYLINT"
method = "check_pylint"
# check_paths = [] # The default check paths could be overrides by local settings
info_only = false
[[tool.nxp_codecheck.checkers]]
name = "MYPY"
method = "check_mypy"
# check_paths = [] # The default check paths could be overrides by local settings
info_only = false
[[tool.nxp_codecheck.checkers]]
name = "PYDOCSTYLE"
method = "check_pydocstyle"
# check_paths = [] # The default check paths could be overrides by local settings
info_only = false
[[tool.nxp_codecheck.checkers]]
name = "BLACK"
method = "check_black"
# check_paths = [] # The default check paths could be overrides by local settings
info_only = false
dependencies = []
fixer = "fix_black"
[[tool.nxp_codecheck.checkers]]
name = "ISORT"
method = "check_isort"
# check_paths = [] # The default check paths could be overrides by local settings
info_only = false
dependencies = []
fixer = "fix_isort"
[[tool.nxp_codecheck.checkers]]
name = "COPYRIGHT"
method = "check_copyright_year"
# check_paths = [] # The default check paths could be overrides by local settings
info_only = false
dependencies = []
fixer = "fix_copyright_year"
[[tool.nxp_codecheck.checkers]]
name = "PY_HEADERS"
method = "check_py_file_headers"
# check_paths = [] # The default check paths could be overrides by local settings
info_only = false
dependencies = []
fixer = "fix_py_file_headers"
[[tool.nxp_codecheck.checkers]]
name = "CYCLIC"
method = "check_cyclic_imports"
# check_paths = [] # The default check paths could be overrides by local settings
info_only = false
dependencies = []
|