diff --git a/.drone.yml b/.drone.yml index 004f9d9..96da54c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,13 @@ kind: pipeline name: lint steps: +- name: python lint with ruff + image: pipelinecomponents/ruff + commands: + - ruff . + - name: python lint image: cytopia/pylint commands: - find . -type f -name "*.py" | xargs pylint + diff --git a/.ruff.toml b/.ruff.toml new file mode 100644 index 0000000..7c71fe6 --- /dev/null +++ b/.ruff.toml @@ -0,0 +1,2 @@ +[lint] +ignore = ["E741"]