Skip to content

Commit

Permalink
fix: Disable duplicate code test (#817)
Browse files Browse the repository at this point in the history
* fix: Disable duplicate code test

It's not particularly useful for test code.

* fix: Run a single pylint command for the repo

Ensures that any checks which deal with multiple files (such as
duplicate code) can detect these.
  • Loading branch information
l0b0 authored Jan 17, 2024
1 parent 7374b4d commit cde875d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ repos:
language: system
stages: [commit]
types: [python]
require_serial: true

- repo: https://github.com/pre-commit/mirrors-prettier
rev: a99a3fbe79a9d346cabd02a5e167ad0edafe616b # v2.3.0
Expand Down
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[MASTER]
disable =
duplicate-code,
invalid-name,
missing-class-docstring,
missing-module-docstring,
Expand Down

0 comments on commit cde875d

Please sign in to comment.