Browse Source

ci: Add missing header, disable new checks

There are too many failures, so revert most of the additional groups
so they can be dealt with one at a time.
Jason Rumney 1 day ago
parent
commit
8eae3a6eff
2 changed files with 7 additions and 3 deletions
  1. 6 3
      pyproject.toml
  2. 1 0
      tests/test_device.py

+ 6 - 3
pyproject.toml

@@ -37,7 +37,10 @@ select = [
   "F",     # pyflakes
   "E",     # pycodestyle
   "W",     # pycodestyle warnings
-  "S",     # flake8-bandit
-  "B",     # flake8-bugbear
-  "A",     # flake8-builtins
+#  "S",     # flake8-bandit
+#  "B",     # flake8-bugbear
+#  "A",    # flake8-builtins
 ]
+ignore = [
+  "E501",  # Duplicate of format rule, hits on tests
+]

+ 1 - 0
tests/test_device.py

@@ -1,3 +1,4 @@
+import asyncio
 from time import time
 
 import pytest