From 6d10a470a5ac99c9e51f7c997101394183e10183 Mon Sep 17 00:00:00 2001 From: Eric Fossum Date: Sat, 7 Dec 2024 23:26:01 -0800 Subject: [PATCH] Enabled flake8, disabled pylint --- .flake8 | 13 +++++++++++++ .vscode/settings.json | 3 ++- pyproject.toml | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..4106969 --- /dev/null +++ b/.flake8 @@ -0,0 +1,13 @@ +[flake8] +max-line-length = 120 +exclude = + .git, + __pycache__, + build, + dist, + venv +docstring-convention = google +# W1203: logging-fstring-interpolation +ignore = W1203 +# logging-not-lazy / W1201 +enable-extensions = W1201 diff --git a/.vscode/settings.json b/.vscode/settings.json index 0ccbd73..ff246bf 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,5 +2,6 @@ "cSpell.words": [ "GPRMC", "NMEA" - ] + ], + "pylint.enabled": false } \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 70bd74d..8ee45ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,4 +10,4 @@ dependencies = [ ] [tool.hatch.build.targets.wheel] -packages = ["pyserialgps"] \ No newline at end of file +packages = ["pyserialgps"]