| [project] |
| name = "bpf-vmtest-tool" |
| version = "0.1.0" |
| description = "Test BPF code against live kernels" |
| readme = "README.md" |
| requires-python = ">=3.9" |
| dependencies = [] |
| |
| [dependency-groups] |
| dev = [ |
| "pre-commit>=4.2.0", |
| "pytest>=8.4.0", |
| "pytest-sugar>=1.0.0", |
| "ruff>=0.11.13", |
| "tox>=4.26.0", |
| ] |
| |
| [tool.pytest.ini_options] |
| addopts = [ |
| "--import-mode=importlib", |
| ] |
| testpaths = ["tests"] |
| pythonpath = ["."] |
| |
| [tool.ruff.lint] |
| select = [ |
| # pycodestyle |
| "E", |
| # Pyflakes |
| "F", |
| ] |
| # Allow fix for all enabled rules (when `--fix`) is provided. |
| fixable = ["ALL"] |
| |
| # Allow unused variables when underscore-prefixed. |
| dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" |