Skip to content

Commit

Permalink
Merge pull request #9 from nanotech-empa/develop
Browse files Browse the repository at this point in the history
Preparing next release of the nanoribbon app
  • Loading branch information
cpignedoli authored Aug 5, 2020
2 parents 9414792 + fc95b68 commit 844b5ae
Show file tree
Hide file tree
Showing 15 changed files with 1,330 additions and 1,558 deletions.
20 changes: 20 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# # Install pre-commit hooks via
# pre-commit install

- repo: local
hooks:
# yapf = yet another python formatter
- id: yapf
name: yapf
entry: yapf
language: system
types: [python]
args: ["-i"]

# prospector: collection of linters
- id: prospector
language: system
types: [file, python]
name: prospector
description: "This hook runs Prospector: https://github.com/landscapeio/prospector"
entry: prospector
19 changes: 19 additions & 0 deletions .prospector.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
max-line-length: 120

ignore-paths:
- doc
- examples
- test
- utils

pylint:
run: true

pyflakes:
run: false

pep8:
run: false

mccabe:
run: false
Loading

0 comments on commit 844b5ae

Please sign in to comment.