Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digitalearth
DASF Data Analytics Software Framework
dasf-progress-api
Commits
00297c0e
Unverified
Commit
00297c0e
authored
Nov 22, 2021
by
Philipp Sommer
Browse files
Add pre-commit configuration
parent
ecbcb64c
Changes
1
Hide whitespace changes
Inline
Side-by-side
.pre-commit-config.yaml
0 → 100644
View file @
00297c0e
# https://pre-commit.com/
repos
:
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v4.0.1
hooks
:
-
id
:
trailing-whitespace
-
id
:
end-of-file-fixer
-
id
:
check-yaml
# isort should run before black as black sometimes tweaks the isort output
-
repo
:
https://github.com/PyCQA/isort
rev
:
5.9.3
hooks
:
-
id
:
isort
args
:
-
--profile
-
black
-
--line-length
-
"
79"
-
--filter-files
-
-skip-gitignore
-
--float-to-top
-
-p
-
demessaging
# https://github.com/python/black#version-control-integration
-
repo
:
https://github.com/psf/black
rev
:
21.9b0
hooks
:
-
id
:
black
-
repo
:
https://github.com/keewis/blackdoc
rev
:
v0.3.4
hooks
:
-
id
:
blackdoc
-
repo
:
https://gitlab.com/pycqa/flake8
rev
:
3.9.2
hooks
:
-
id
:
flake8
-
repo
:
https://github.com/pre-commit/mirrors-mypy
rev
:
v0.910
hooks
:
-
id
:
mypy
# Copied from setup.cfg
args
:
[
--ignore-missing-imports
]
additional_dependencies
:
[
pydantic
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment