From 74364eb3faa55977d0232885a4187eea3200010f 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 | 2 +- .pylintrc | 6 ++++++ README.md | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .pylintrc create mode 100644 README.md diff --git a/.drone.yml b/.drone.yml index b9c66d7..004f9d9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,4 +6,4 @@ steps: - name: python lint image: cytopia/pylint commands: - - pylint *.py + - 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