Skip to content

Commit 10d3611

Browse files
Copilotbofh69
andcommitted
Fix mypy and pylint errors by excluding open_print_tag directory
Co-authored-by: bofh69 <1444315+bofh69@users.noreply.github.com>
1 parent e5ddcba commit 10d3611

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
pip install -r requirements.txt
2525
- name: Type checking with mypy
2626
run: |
27-
mypy --config-file mypy.ini $(git ls-files '*.py' | grep -v write_tags.py)
27+
mypy --config-file mypy.ini $(git ls-files '*.py' | grep -v write_tags.py | grep -v 'open_print_tag/')

.github/workflows/pylint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
pip install -r requirements.txt
2222
- name: Analysing the code with pylint
2323
run: |
24-
pylint --disable W0511 $(git ls-files '*.py')
24+
pylint --disable W0511 $(git ls-files '*.py' | grep -v 'open_print_tag/')

mypy.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ ignore_missing_imports = True
3232
[mypy-requests.*]
3333
ignore_missing_imports = True
3434

35+
[mypy-pn5180_tagomatic.*]
36+
ignore_missing_imports = True
37+
3538
[mypy-record]
3639
ignore_missing_imports = True
3740

0 commit comments

Comments
 (0)