|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools>=44"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "trackcpp" |
| 7 | +authors = [ { name = "lnls-fac" }, ] |
| 8 | +maintainers = [ |
| 9 | + {name = "Ana Oliveira", email = "ana.clara@lnls.br"}, |
| 10 | + {name = "Ximenes Resende", email = "xresende@gmail.com"}, |
| 11 | + {name = "Fernando H. de Sá", email = "fernandohds564@gmail.com"}, |
| 12 | + {name = "Murilo Barbosa Alves", email= "alvesb.murilo@gmail.com"} |
| 13 | +] |
| 14 | +description = "trackcpp python package" |
| 15 | +readme = "README.md" |
| 16 | +dynamic = ["version", "dependencies"] |
| 17 | +requires-python = ">=3.6" |
| 18 | +classifiers = [ |
| 19 | + "Intended Audience :: Science/Research", |
| 20 | + "Programming Language :: Python", |
| 21 | + "Topic :: Scientific/Engineering", |
| 22 | +] |
| 23 | +license = "MIT" |
| 24 | +license-files= [ "LICENSE", ] |
| 25 | + |
| 26 | +[project.urls] |
| 27 | +Homepage = "https://github.com/lnls-fac/trackcpp" |
| 28 | +Download = "https://github.com/lnls-fac/trackcpp" |
| 29 | +Repository = "https://github.com/lnls-fac/trackcpp.git" |
| 30 | +Issues = "https://github.com/lnls-fac/trackcpp/issues" |
| 31 | + |
| 32 | +# --- Configurações específicas do Setuptools --- |
| 33 | +[tool.setuptools] |
| 34 | +include-package-data = true |
| 35 | + |
| 36 | +[tool.setuptools.dynamic] |
| 37 | +version = { file = "VERSION" } |
| 38 | +dependencies = { file = "requirements.txt" } |
| 39 | + |
| 40 | +[tool.setuptools.package-data] |
| 41 | +trackcpp = ["VERSION", "_trackcpp.so"] |
| 42 | + |
| 43 | +# --- linter and formatter configurations --- |
| 44 | +[tool.ruff] |
| 45 | +select = [ |
| 46 | + "W", "E", "A", "B", "C90", "D", "I002", "N", "F", "G", "ARG", "S", "NPY"] |
| 47 | +ignore = [ |
| 48 | + "D203", "D204", "D213", "D215", "D400", "D401", "D404", "D406", "D407", |
| 49 | + "D408", "D409", "D413", "E203", "E226"] |
| 50 | +ignore-init-module-imports = true |
| 51 | +preview = true |
| 52 | +line-length = 79 |
| 53 | +fix = true |
| 54 | + |
| 55 | +[tool.ruff.extend-per-file-ignores] |
| 56 | +"__init__.py" = ["F401", "F821"] |
| 57 | + |
| 58 | +[tool.ruff.format] |
| 59 | +skip-magic-trailing-comma = true |
| 60 | + |
| 61 | +[tool.ruff.lint.isort] |
| 62 | +split-on-trailing-comma = false |
| 63 | +combine-as-imports = true |
| 64 | + |
| 65 | +[tool.isort] |
| 66 | +split_on_trailing_comma = false |
| 67 | +combine_as_imports = true |
| 68 | +combine_star = true |
| 69 | +multi_line_output = "HANGING_INDENT" |
| 70 | +order_by_type = false |
| 71 | + |
| 72 | +[tool.black] |
| 73 | +line-length = 79 |
0 commit comments