Skip to content

Commit 2bb22f4

Browse files
committed
ci: add interface mockup for pylint
1 parent f5fd7ce commit 2bb22f4

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ checks:pylint:
1212
before_script:
1313
- sudo dnf install -y python3-gobject gtk3 python3-pylint
1414
script:
15+
- export PYTHONPATH=ci/test-packages
1516
- pylint-3 $(find sender receiver scripts -type f -name '*.py')
1617

1718
include:

ci/test-packages/qubesdb.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
class QubesDB:
2+
def read(self, key):
3+
return b'testvm'
4+
5+
def rm(self, key):
6+
pass
7+
8+
def write(self, key, value):
9+
pass
10+
11+
class Error(Exception):
12+
pass

0 commit comments

Comments
 (0)