From 608ea8946f441ed64ddb1e8743e203e1fc56ac56 Mon Sep 17 00:00:00 2001 From: "repo-helper[bot]" <74742576+repo-helper[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 23:07:02 +0000 Subject: [PATCH] Updated files with 'repo_helper'. (#79) Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com> --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- CONTRIBUTING.rst | 2 +- formate.toml | 1 + pyproject.toml | 9 +++++---- setup.cfg | 8 ++++---- tox.ini | 2 ++ 7 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index db77b5a..3eedb26 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -41,7 +41,7 @@ If possible, please include a small, self-contained reproduction. * Operating System: * Python: - * repo_helper_bot: + * repo-helper-bot: ## Installation source diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 4714234..a861a75 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -20,7 +20,7 @@ assignees: domdfcoding * Operating System: * Python: - * repo_helper_bot: + * repo-helper-bot: ## Other Additional Information: diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 618febe..7179dba 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -4,7 +4,7 @@ Contributing .. This file based on https://github.com/PyGithub/PyGithub/blob/master/CONTRIBUTING.md -``repo_helper_bot`` uses `tox `_ to automate testing and packaging, +``repo-helper-bot`` uses `tox `_ to automate testing and packaging, and `pre-commit `_ to maintain code quality. Install ``pre-commit`` with ``pip`` and install the git hook: diff --git a/formate.toml b/formate.toml index 1999e96..bf2753a 100644 --- a/formate.toml +++ b/formate.toml @@ -48,5 +48,6 @@ known_third_party = [ "requests", "southwark", "sqlalchemy", + "werkzeug", ] known_first_party = "repo_helper_bot" diff --git a/pyproject.toml b/pyproject.toml index 6e366ab..966e125 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = [ "setuptools!=61.*,>=40.6.0", "wheel>=0.34.2",] build-backend = "setuptools.build_meta" [project] -name = "repo_helper_bot" +name = "repo-helper-bot" version = "0.0.0" description = "I keep your repository configuration up-to-date using 'repo_helper'." readme = "README.rst" @@ -43,6 +43,7 @@ python-versions = [ "3.6", "3.7", "3.8", "3.9",] python-implementations = [ "CPython",] platforms = [ "Windows", "macOS", "Linux",] license-key = "MIT" +package = "repo_helper_bot" [tool.mypy] python_version = "3.8" @@ -64,12 +65,12 @@ platforms = [ "Windows", "macOS", "Linux",] [tool.dep_checker] allowed_unused = [ "werkzeug", "gunicorn", "psycopg2", "psycopg2_binary",] -[tool.dependency-dash."requirements.txt"] -order = 10 - [tool.dep_checker.name_mapping] github3_py = "github3" +[tool.dependency-dash."requirements.txt"] +order = 10 + [tool.snippet-fmt.languages.python] reformat = true diff --git a/setup.cfg b/setup.cfg index dd05cae..4dc8ce3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ # * options.entry_points [metadata] -name = repo_helper_bot +name = repo-helper-bot version = 0.0.0 author = Dominic Davis-Foster author_email = dominic@davis-foster.co.uk @@ -16,10 +16,10 @@ keywords = long_description = file: README.rst long_description_content_type = text/x-rst platforms = Windows, macOS, Linux -url = https://github.com/repo-helper/repo_helper_bot +url = https://github.com/repo-helper/repo-helper-bot project_urls = - Issue Tracker = https://github.com/repo-helper/repo_helper_bot/issues - Source Code = https://github.com/repo-helper/repo_helper_bot + Issue Tracker = https://github.com/repo-helper/repo-helper-bot/issues + Source Code = https://github.com/repo-helper/repo-helper-bot classifiers = License :: OSI Approved :: MIT License Operating System :: OS Independent diff --git a/tox.ini b/tox.ini index d3c4c95..c508e99 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,9 @@ # * envlists # * testenv # * testenv:.package +# * testenv:py313-dev # * testenv:py312-dev +# * testenv:py312 # * testenv:docs # * testenv:build # * testenv:lint