|
| 1 | +# SPDX-FileCopyrightText: 2025 Sébastien Helleu <flashcode@flashtux.org> |
| 2 | +# |
| 3 | +# SPDX-License-Identifier: GPL-3.0-or-later |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "msgcheck" |
| 7 | +version = "4.2.0-dev" |
| 8 | +description = "Perform various checks on gettext files" |
| 9 | +readme = "README.md" |
| 10 | +authors = [ |
| 11 | + { name = "Sébastien Helleu", email = "flashcode@flashtux.org" } |
| 12 | +] |
| 13 | +license = "GPL-3.0-or-later" |
| 14 | +keywords = ["gettext"] |
| 15 | +classifiers = [ |
| 16 | + "Development Status :: 5 - Production/Stable", |
| 17 | + "Environment :: Console", |
| 18 | + "Intended Audience :: Developers", |
| 19 | + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", |
| 20 | + "Natural Language :: English", |
| 21 | + "Operating System :: OS Independent", |
| 22 | + "Programming Language :: Python", |
| 23 | + "Programming Language :: Python :: 3", |
| 24 | + "Topic :: Software Development :: Localization", |
| 25 | +] |
| 26 | +requires-python = ">=3.9" |
| 27 | +dependencies = [ |
| 28 | + "pyenchant>=3.3.0", |
| 29 | +] |
| 30 | + |
| 31 | +[project.scripts] |
| 32 | +msgcheck = "msgcheck:main" |
| 33 | + |
| 34 | +[project.urls] |
| 35 | +Repository = "https://github.com/flashcode/msgcheck" |
| 36 | +Issues = "https://github.com/flashcode/msgcheck/issues" |
| 37 | +Changelog = "https://github.com/flashcode/msgcheck/blob/main/CHANGELOG.md" |
| 38 | + |
| 39 | +[build-system] |
| 40 | +requires = ["uv_build>=0.9.17,<0.10.0"] |
| 41 | +build-backend = "uv_build" |
| 42 | + |
| 43 | +[dependency-groups] |
| 44 | +dev = [ |
| 45 | + "pytest>=7.4.4", |
| 46 | + "pytest-cov>=4.1.0", |
| 47 | +] |
| 48 | + |
| 49 | +[tool.ruff] |
| 50 | +line-length = 120 |
| 51 | +indent-width = 4 |
| 52 | + |
| 53 | +[tool.ruff.lint] |
| 54 | +select = ["ALL"] |
| 55 | + |
| 56 | +[tool.ruff.lint.extend-per-file-ignores] |
| 57 | +"tests/*.py" = [ |
| 58 | + "ANN001", # missing-type-function-argument |
| 59 | + "FBT", # flake8-boolean-trap |
| 60 | + "PLR2004", # magic-value-comparison |
| 61 | + "S101", # assert |
| 62 | +] |
0 commit comments