Add pyflakes check (#3)
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: https://git.deguo.duckdns.org/pavel/argclass/pulls/3
Co-authored-by: Pavel Lutskov <pavel.lutskov@gmail.com>
Co-committed-by: Pavel Lutskov <pavel.lutskov@gmail.com>
This commit is contained in:
2021-09-12 12:39:26 +02:00
parent 326e1bbfa0
commit 4f8e111729
2 changed files with 8 additions and 1 deletions

View File

@@ -9,12 +9,19 @@ steps:
- black --check --diff --quiet . - black --check --diff --quiet .
depends_on: [] depends_on: []
- name: pyflakes
image: alpine/flake8:3.9.2
commands:
- pyflakes .
depends_on: []
- name: test-python-3.8 - name: test-python-3.8
image: python:3.8-slim image: python:3.8-slim
commands: commands:
- python test.py - python test.py
depends_on: depends_on:
- black - black
- pyflakes
- name: test-python-3.9 - name: test-python-3.9
image: python:3.9-slim image: python:3.9-slim
@@ -22,3 +29,4 @@ steps:
- python test.py - python test.py
depends_on: depends_on:
- black - black
- pyflakes

View File

@@ -1,4 +1,3 @@
from argparse import ArgumentError, ArgumentTypeError
import unittest import unittest
from typing import List from typing import List