Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🩹 Fix pre commit hook manifest #287

Merged
merged 4 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ repos:
- id: end-of-file-fixer
- id: no-commit-to-branch
- id: trailing-whitespace
- repo: https://github.com/pre-commit/pre-commit
rev: v4.0.0
hooks:
- id: validate_manifest
- repo: https://github.com/psf/black
rev: '23.3.0'
hooks:
Expand Down
7 changes: 0 additions & 7 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,3 @@
args: [-i]
language: python
types: [python]
- id: docformatter-venv
name: docformatter-venv
description: 'Formats docstrings to follow PEP 257. Uses python3 -m venv.'
entry: docformatter
args: [-i]
language: python_venv
types: [python]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ deps =
charset_normalizer
pycodestyle
pydocstyle
ruff
ruff==0.0.269
rstcheck
toml
untokenize
Expand Down
1 change: 0 additions & 1 deletion src/docformatter/syntax.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,4 +975,3 @@ def _field_over_url(
if _value[1] < any_param_start:
nonoverlapping_urls.append(_value)
return nonoverlapping_urls

Loading