From 85af960406cda7969688b54b3b8d8b4111ae8edf Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Mon, 2 Feb 2026 06:20:09 +0000 Subject: [PATCH] Initial upload with README, config, and CI/CD workflow --- pyproject.toml | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..877fbf8 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,63 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "regex-humanizer" +version = "0.1.0" +description = "A CLI tool that converts complex regular expressions into human-readable plain English descriptions" +readme = "README.md" +license = {text = "MIT"} +requires-python = ">=3.8" +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +dependencies = [ + "click>=8.0", + "regex>=2023.0", + "lark>=1.1", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.0", + "pytest-cov", + "flake8", + "mypy", + "black", + "isort", +] + +[project.scripts] +regex-humanizer = "regex_humanizer.cli:main" + +[tool.setuptools.packages.find] +where = ["."] +include = ["regex_humanizer*"] + +[tool.pytest.ini_options] +testpaths = ["tests"] +python_files = ["test_*.py"] +python_functions = ["test_*"] + +[tool.black] +line-length = 100 +target-version = ["py38"] + +[tool.isort] +profile = "black" +line_length = 100 + +[tool.mypy] +python_version = "3.8" +warn_return_any = true +warn_unused_configs = true +ignore_missing_imports = true