Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit b3baa1f

Browse files
authored
Basic linter config (#261)
* basic linter config * applied formatting rules * Google style pylintrc * disable abstract-class-instantiated and protected-access * Fixed unused import * Fixed super-with-arguments * inconsistent-quotes * Fixed unneeded-not * Fixed line-too-long * updated docs * split before assigns * main instead of master * code review * updated isort * increased line length * arg indentation * isort config to match yapf * reformatted imports --------- Co-authored-by: Hannes Hapke <[email protected]>
1 parent 14f7865 commit b3baa1f

31 files changed

+1893
-1011
lines changed

.github/ci/.pre-commit-config.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
default_stages: [push,commit]
4+
repos:
5+
- repo: https://github.com/pycqa/isort
6+
rev: 5.12.0
7+
hooks:
8+
- id: isort
9+
name: isort (python)
10+
- repo: https://github.com/google/yapf
11+
rev: v0.31.0
12+
hooks:
13+
- id: yapf
14+
- repo: https://github.com/PyCQA/pylint
15+
rev: v2.8.3
16+
hooks:
17+
- id: pylint

0 commit comments

Comments
 (0)