added mypy, eradicate
This commit is contained in:
parent
3b384e6f99
commit
bb5187ffc8
4 changed files with 11 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@
|
|||
|
||||
"""Setup script for tweetdelete."""
|
||||
|
||||
from setuptools import setup
|
||||
from setuptools import setup # type: ignore
|
||||
|
||||
import tweetdelete
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue