Skip to content

Commit 59e413d

Browse files
committed
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
1 parent e982c06 commit 59e413d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Diff for: .pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
rev: 24.4.2
2121
hooks:
2222
- id: black
23-
args: [--safe, --line-length=120]
23+
args: [--safe, --line-length=120, "--exclude=pylint_django/tests/input/"]
2424
- repo: local
2525
hooks:
2626
- id: pylint

Diff for: pyproject.toml

+8
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ packages = [
3636
include = ["pylint_django/LICENSE"]
3737
exclude = ["**/tests/**", "**/testutils.py", "**/tests.py"]
3838

39+
40+
[project.urls]
41+
"Repository" = "https://github.com/pylint-dev/pylint-djangp"
42+
"Bug Tracker" = "https://github.com/pylint-dev/pylint-djangp/issues"
43+
"Changelog" = "https://github.com/pylint-dev/pylint-django/blob/master/CHANGELOG.rst"
44+
"Contributors" = "https://github.com/pylint-dev/pylint-django/blob/master/CONTRIBUTORS.md"
45+
46+
3947
[tool.poetry.dependencies]
4048
python = ">=3.8,<4.0"
4149
pylint-plugin-utils = ">=0.8"

0 commit comments

Comments
 (0)