Skip to content

Commit

Permalink
Disable lint error W0511
Browse files Browse the repository at this point in the history
  • Loading branch information
sfowl committed Oct 29, 2024
1 parent cc5026e commit 718ecef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ repos:
# W0603 - Using the global statement
# C0114,C0115,C0116 - docstring checks. Disabled because of pydocstyle checks
# W0107 - unnecessary pass
# W0511: fixme
# W0702: No exception type(s) specified (bare-except)
# R0801: Similar lines in 2 files. Disabled because it flags any file even those which are unrelated
# R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
Expand All @@ -52,5 +53,5 @@ repos:
- --max-line-length=120
- --min-public-methods=0
- --good-names=q,f,fp,i,e
- --disable=E0401,W1201,W1203,C0114,C0115,C0116,C0411,W0107,W0702,R0801,R1705,R1710
- --disable=E0401,W1201,W1203,C0114,C0115,C0116,C0411,W0107,W0702,R0801,R1705,R1710,W0511
language_version: python3

0 comments on commit 718ecef

Please sign in to comment.