diff --git a/.drone.yml b/.drone.yml index 30930f6..ccc753f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,12 +9,19 @@ steps: - black --check --diff --quiet . depends_on: [] + - name: pyflakes + image: alpine/flake8:3.9.2 + commands: + - pyflakes . + depends_on: [] + - name: test-python-3.8 image: python:3.8-slim commands: - python test.py depends_on: - black + - pyflakes - name: test-python-3.9 image: python:3.9-slim @@ -22,3 +29,4 @@ steps: - python test.py depends_on: - black + - pyflakes diff --git a/test.py b/test.py index 325cad8..7f98c3e 100644 --- a/test.py +++ b/test.py @@ -1,4 +1,3 @@ -from argparse import ArgumentError, ArgumentTypeError import unittest from typing import List