Skip to content
Snippets Groups Projects
Commit b485b805 authored by Joao P C Bertoldo's avatar Joao P C Bertoldo
Browse files

add flake8

parent 1fc5c952
No related branches found
No related tags found
No related merge requests found
......@@ -30,4 +30,9 @@ repos:
rev: 20.8b1 # Replace by any tag/version: https://github.com/psf/black/tags
hooks:
- id: black
language_version: python3.8 # Should be a command that runs python3.6+
\ No newline at end of file
language_version: python3.8 # Should be a command that runs python3.6+
- repo: https://github.com/pycqa/flake8
rev: '3.9.0' # pick a git hash / tag to point to
hooks:
- id: flake8
\ No newline at end of file
[tool.black]
line-length = 127
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
\ No newline at end of file
include = '\.pyi?$'
[flake8]
max-line-length = 127
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment