Skip to content

Commit

Permalink
ARROW-93 Adopt flake8-rst checks (#221)
Browse files Browse the repository at this point in the history
* ARROW-93 Adopt flake8-rst checks

* Restrict flake8 hook to .rst files
  • Loading branch information
shruti-sridhar authored Jun 25, 2024
1 parent cbbb2b7 commit 1c5cdd2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@ repos:
additional_dependencies: [sphinx]
args: ["--ignore-directives=doctest,testsetup,todo,automodule","--ignore-substitutions=release", "--report-level=error"]

- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
files: \.rst$
additional_dependencies: [
'flake8-rst==0.8.0',
'flake8-bugbear==20.1.4',
'flake8-logging-format==0.6.0',
'flake8-implicit-str-concat==0.2.0',
]

# We use the Python version instead of the original version which seems to require Docker
# https://github.com/koalaman/shellcheck-precommit
- repo: https://github.com/shellcheck-py/shellcheck-py
Expand Down

0 comments on commit 1c5cdd2

Please sign in to comment.