|
| 1 | +[project] |
| 2 | +name = "reusables" |
| 3 | +dynamic = ["version"] |
| 4 | +description = "Commonly Consumed Code Commodities" |
| 5 | +readme = "README.rst" |
| 6 | +license = "MIT" |
| 7 | +requires-python = ">3.8" |
| 8 | +authors = [ |
| 9 | + { name = "Chris Griffith", email = "chris@cdgriffith.com" }, |
| 10 | +] |
| 11 | +classifiers = [ |
| 12 | + "Development Status :: 4 - Beta", |
| 13 | + "Environment :: Web Environment", |
| 14 | + "Intended Audience :: Developers", |
| 15 | + "Intended Audience :: System Administrators", |
| 16 | + "Natural Language :: English", |
| 17 | + "Operating System :: OS Independent", |
| 18 | + "Programming Language :: Python", |
| 19 | + "Programming Language :: Python :: 3", |
| 20 | + "Programming Language :: Python :: 3.9", |
| 21 | + "Programming Language :: Python :: 3.10", |
| 22 | + "Programming Language :: Python :: 3.11", |
| 23 | + "Programming Language :: Python :: 3.12", |
| 24 | + "Programming Language :: Python :: 3.13", |
| 25 | + "Programming Language :: Python :: Implementation :: CPython", |
| 26 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 27 | + "Topic :: Documentation :: Sphinx", |
| 28 | + "Topic :: Software Development", |
| 29 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 30 | + "Topic :: System :: Archiving", |
| 31 | + "Topic :: System :: Archiving :: Compression", |
| 32 | + "Topic :: System :: Filesystems", |
| 33 | + "Topic :: System :: Logging", |
| 34 | + "Topic :: Utilities", |
| 35 | +] |
| 36 | +dependencies = [] |
| 37 | + |
| 38 | +[project.urls] |
| 39 | +Homepage = "https://github.com/cdgriffith/Reusables" |
| 40 | + |
| 41 | +[dependency-groups] |
| 42 | +dev = [ |
| 43 | + "pytest>=8.3.5", |
| 44 | + "rarfile>=4.2", |
| 45 | + "ruff>=0.12.1", |
| 46 | + "twine>=6.1.0", |
| 47 | + "wheel>=0.45.1", |
| 48 | +] |
| 49 | + |
| 50 | +[build-system] |
| 51 | +requires = ["setuptools", "wheel"] |
| 52 | +build-backend = "setuptools.build_meta" |
| 53 | + |
| 54 | +[tool.setuptools.dynamic] |
| 55 | +version = { attr = "reusables.__version__" } |
| 56 | + |
| 57 | +[tool.ruff] |
| 58 | +# Exclude a variety of commonly ignored directories. |
| 59 | +exclude = [ |
| 60 | + ".direnv", |
| 61 | + ".eggs", |
| 62 | + ".git", |
| 63 | + ".git-rewrite", |
| 64 | + ".ipynb_checkpoints", |
| 65 | + ".mypy_cache", |
| 66 | + ".pytest_cache", |
| 67 | + ".pytype", |
| 68 | + ".ruff_cache", |
| 69 | + ".venv", |
| 70 | + ".vscode", |
| 71 | + "__pypackages__", |
| 72 | + "_build", |
| 73 | + "buck-out", |
| 74 | + "build", |
| 75 | + "dist", |
| 76 | + "venv", |
| 77 | +] |
| 78 | + |
| 79 | +line-length = 120 |
| 80 | +indent-width = 4 |
| 81 | + |
| 82 | +target-version = "py313" |
| 83 | + |
| 84 | +[tool.ruff.lint] |
| 85 | +# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. |
| 86 | +# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or |
| 87 | +# McCabe complexity (`C901`) by default. |
| 88 | +#select = ["E4", "E7", "E9", "F"] |
| 89 | +#ignore = [] |
| 90 | + |
| 91 | +# Allow fix for all enabled rules (when `--fix`) is provided. |
| 92 | +#fixable = ["F401", "F541", "F405"] |
| 93 | +#unfixable = [] |
| 94 | + |
| 95 | +[tool.ruff.format] |
| 96 | +# Like Black, use double quotes for strings. |
| 97 | +quote-style = "double" |
| 98 | + |
| 99 | +# Like Black, indent with spaces, rather than tabs. |
| 100 | +indent-style = "space" |
| 101 | + |
| 102 | +# Like Black, respect magic trailing commas. |
| 103 | +skip-magic-trailing-comma = false |
| 104 | + |
| 105 | +line-ending = "lf" |
| 106 | + |
| 107 | +# Enable auto-formatting of code examples in docstrings. Markdown, |
| 108 | +# reStructuredText code/literal blocks and doctests are all supported. |
| 109 | +# |
| 110 | +# This is currently disabled by default, but it is planned for this |
| 111 | +# to be opt-out in the future. |
| 112 | +docstring-code-format = true |
| 113 | + |
| 114 | +# Set the line length limit used when formatting code snippets in |
| 115 | +# docstrings. |
| 116 | +# |
| 117 | +# This only has an effect when the `docstring-code-format` setting is |
| 118 | +# enabled. |
| 119 | +docstring-code-line-length = "dynamic" |
0 commit comments