From 59e413dd39cc21757632bc90b5174a433380bf74 Mon Sep 17 00:00:00 2001 From: Carl Crowder Date: Sat, 20 Jul 2024 12:03:31 +0300 Subject: [PATCH] Making some friendlier project URLs for the PyPI page Ignoring test files from black formatting, because the python file line numbers and RC file line numbers must match - if black messes with the python file, it breaks the tests because the RC file no longer matches --- .pre-commit-config.yaml | 2 +- pyproject.toml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 180bcc9..ee11c75 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: rev: 24.4.2 hooks: - id: black - args: [--safe, --line-length=120] + args: [--safe, --line-length=120, "--exclude=pylint_django/tests/input/"] - repo: local hooks: - id: pylint diff --git a/pyproject.toml b/pyproject.toml index 50cdd26..b6ffff3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,6 +36,14 @@ packages = [ include = ["pylint_django/LICENSE"] exclude = ["**/tests/**", "**/testutils.py", "**/tests.py"] + +[project.urls] +"Repository" = "https://github.com/pylint-dev/pylint-djangp" +"Bug Tracker" = "https://github.com/pylint-dev/pylint-djangp/issues" +"Changelog" = "https://github.com/pylint-dev/pylint-django/blob/master/CHANGELOG.rst" +"Contributors" = "https://github.com/pylint-dev/pylint-django/blob/master/CONTRIBUTORS.md" + + [tool.poetry.dependencies] python = ">=3.8,<4.0" pylint-plugin-utils = ">=0.8"