| # Reference at |
| # https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ |
| # https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html |
| |
| [build-system] |
| requires = [ |
| "setuptools", |
| "setuptools-scm", |
| ] |
| build-backend = "setuptools.build_meta" |
| |
| [project] |
| name = "fxtest" |
| description = "Python binary for running Fuchsia tests" |
| requires-python = ">=3.11" |
| dynamic = ["version"] |
| readme = "README.md" |
| keywords = ["fuchsia", "test"] |
| |
| dependencies = [] |
| |
| [project.optional-dependencies] |
| # Testing related dependencies |
| test = [ |
| "colorama==0.4.6", # for testing |
| "jellyfish==0.11.0", # for type checking |
| "parameterized==0.9.0", # for testing |
| ] |
| # Coding guidelines related dependencies |
| guidelines = [ |
| "coverage==7.2.7", # for measuring code coverage using unit tests |
| "pylint==2.17.4", # for code linting |
| "isort==5.12.0", # for sorting imports |
| "autoflake==2.1.1", # for removeing unused imports and unused variables |
| "types-colorama==0.4.6", # for type checking |
| "jellyfish==0.11.0", # for type checking |
| ] |
| |
| [tool.setuptools.packages.find] |
| where = ["."] # list of folders that contain the packages (["."] by default) |
| |
| [tool.isort] |
| # Reference at https://pycqa.github.io/isort/docs/configuration/config_files.html |
| profile = "google" |
| line_length = 80 |