mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-10 01:13:29 +00:00
ee6b48ac32
* Run linters and unit tests with github actions * Reformat with black, 22.1.0 (compiled: yes) * Remove native deps as should no longer be needed * Remove pylint from workflows * Remove unused Gtk dependency in test_daemon.py * Install subset of python deps with apt-get for ci
22 lines
454 B
YAML
22 lines
454 B
YAML
---
|
|
runner:
|
|
mypy:
|
|
name: mypy
|
|
cmd: mypy --show-column-numbers inputremapper tests --ignore-missing-imports
|
|
errorformat:
|
|
- "%f:%l:%c: %m"
|
|
|
|
pylint:
|
|
name: pylint
|
|
cmd: pylint inputremapper tests --extension-pkg-whitelist=evdev
|
|
errorformat:
|
|
- "%f:%l:%c: %t%n: %m"
|
|
|
|
flake8:
|
|
cmd: flake8 inputremapper tests
|
|
format: flake8
|
|
|
|
black:
|
|
cmd: black --diff --quiet --check ./inputremapper ./tests
|
|
format: black
|