Skip to content
Snippets Groups Projects
Commit 3ce130d4 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

Merge branch 'dev' into f-doc-code-gallery

parents ab4955d9 9a165f6a
No related branches found
No related tags found
1 merge request!41DOC: code gallery
Pipeline #18240 passed
...@@ -40,18 +40,18 @@ code_style: ...@@ -40,18 +40,18 @@ code_style:
tags: [ docker ] tags: [ docker ]
stage: code_style stage: code_style
script: script:
- pycodestyle --count ./ - make style
allow_failure: true allow_failure: true
# pylint tests for pycaosdb
pylint: pylint:
tags: [ docker ] tags: [ docker ]
stage: linting stage: linting
script: script:
- pylint --unsafe-load-any-extension=y -d all -e E,F src/caosdb/common - make lint
allow_failure: true allow_failure: true
# run tests
# pylint tests for pycaosdb
test: test:
tags: [ docker ] tags: [ docker ]
stage: test stage: test
......
...@@ -31,3 +31,14 @@ doc: ...@@ -31,3 +31,14 @@ doc:
install: install:
@echo "Not implemented yet, use pip for installation." @echo "Not implemented yet, use pip for installation."
check: style lint
.PHONY: check
style:
pycodestyle --count examples src unittests
.PHONY: style
lint:
pylint --unsafe-load-any-extension=y -d all -e E,F src/caosdb/common
.PHONY: lint
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