From 2ca74cff35237d804afdaa31180e731cd6aa3e35 Mon Sep 17 00:00:00 2001 From: kleph Date: Fri, 10 Dec 2021 14:48:39 +0100 Subject: [PATCH] Add missing linter! --- .drone.yml | 9 +++++++++ .pylintrc | 6 ++++++ README.md | 1 + 3 files changed, 16 insertions(+) create mode 100644 .drone.yml create mode 100644 .pylintrc create mode 100644 README.md diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..004f9d9 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,9 @@ +--- +kind: pipeline +name: lint + +steps: +- name: python lint + image: cytopia/pylint + commands: + - find . -type f -name "*.py" | xargs pylint diff --git a/.pylintrc b/.pylintrc new file mode 100644 index 0000000..9bfc778 --- /dev/null +++ b/.pylintrc @@ -0,0 +1,6 @@ +[MESSAGES CONTROL] +# C0111: Missing docstring +# C0103: snake_case names (and one letter index vars) +# R0801: Similar lines in N files +disable=R0801,C0111,C0103 + diff --git a/README.md b/README.md new file mode 100644 index 0000000..7ec4297 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +[![Build Status](https://drone.kleph.eu/api/badges/kleph/advent_of_code/status.svg)](https://drone.kleph.eu/kleph/advent_of_code) -- 2.45.2