Skip to content
Snippets Groups Projects
Verified Commit 9a165f6a authored by Daniel Hornung's avatar Daniel Hornung
Browse files

STY: Fixed style mistake. Pipeline uses improved Makefile.

parent b98d07a9
No related branches found
No related tags found
No related merge requests found
Pipeline #18232 passed
......@@ -40,18 +40,18 @@ code_style:
tags: [ docker ]
stage: code_style
script:
- pycodestyle --count ./
- make style
allow_failure: true
# pylint tests for pycaosdb
pylint:
tags: [ docker ]
stage: linting
script:
- pylint --unsafe-load-any-extension=y -d all -e E,F src/caosdb/common
- make lint
allow_failure: true
# pylint tests for pycaosdb
# run tests
test:
tags: [ docker ]
stage: test
......
......@@ -31,3 +31,14 @@ doc:
install:
@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
......@@ -145,7 +145,7 @@ def test_compare_entities():
assert "tests_234234" in diff_r1["properties"]
assert "tests_TT" in diff_r2["properties"]
def test_compare_entities_units():
r1 = db.Record()
r2 = db.Record()
......
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