Skip to content

Commit 65e084f

Browse files
committed
linting and stuff
1 parent 78570cd commit 65e084f

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ files = ["src", "tests"]
6363

6464
[tool.pylint.message_control]
6565
enable = ["c-extension-no-member", "no-else-return"]
66+
disable = ["fixme", "missing-class-docstring", "too-many-arguments", "missing-function-docstring", "import-outside-toplevel"]
6667

6768
[tool.pylint.variables]
6869
dummy-variables-rgx = "_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_"

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ install_requires=
2828
requests
2929
appdirs
3030
filelock
31+
distro
3132

3233
[options.extras_require]
3334
docs =
@@ -44,6 +45,7 @@ tests =
4445
pytest-mock==3.7.0
4546
pylint==2.13.7
4647
mypy==0.942
48+
types-requests
4749
dev =
4850
%(tests)s
4951
%(docs)s

src/iterative_telemetry/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import distro
1515
import requests
16-
from appdirs import user_config_dir
16+
from appdirs import user_config_dir # type: ignore
1717
from filelock import FileLock, Timeout
1818

1919
logger = logging.getLogger(__name__)

0 commit comments

Comments
 (0)