Skip to content

Commit

Permalink
Making some friendlier project URLs for the PyPI page
Browse files Browse the repository at this point in the history
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
  • Loading branch information
carlio committed Jul 20, 2024
1 parent e982c06 commit 59e413d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 59e413d

Please sign in to comment.