added mypy, eradicate

This commit is contained in:
Tobias Schmidl 2021-03-01 07:55:57 +01:00
parent 3b384e6f99
commit bb5187ffc8
4 changed files with 11 additions and 7 deletions

View file

@ -1,14 +1,11 @@
[pylama]
format = pylint
linters = mccabe,pep257,pydocstyle,pep8,pycodestyle,pyflakes,pylint,isort
linters = eradicate,isort,mccabe,mypy,pycodestyle,pydocstyle,pyflakes,pylint
ignore = D203
skip=.env/*
[pylama:pycodestyle]
max_line_length = 120
[pylama:pep8]
max_line_length = 120
[pylama:pylint]
max_line_length = 120

View file

@ -1,5 +1,12 @@
eradicate>=2.0.0
isort>=5.5.0
mccabe>=0.6.0
mypy>=0.812
pycodestyle>=2.6.0
pydocstyle>=5.1.0
pyflakes>=2.2.0
pylama>=7.7.0
pylint>=2.3.0
pylint>=2.6.0
toml>=0.10.0
tweepy>=3.10.0
xdg>=5.0.0

View file

@ -2,7 +2,7 @@
"""Setup script for tweetdelete."""
from setuptools import setup
from setuptools import setup # type: ignore
import tweetdelete

View file

@ -11,7 +11,7 @@ if __name__ == "__main__":
from datetime import datetime, timedelta
import toml
import tweepy
import tweepy # type: ignore
from xdg import xdg_config_home
# options