Browse Source

added pylint-import-requirements checker

Fabian Peter Hammerle 4 years ago
parent
commit
35fdc2772b
3 changed files with 18 additions and 5 deletions
  1. 4 0
      .pylintrc
  2. 1 0
      Pipfile
  3. 13 5
      Pipfile.lock

+ 4 - 0
.pylintrc

@@ -1,3 +1,7 @@
+[MASTER]
+
+load-plugins=pylint_import_requirements
+
 [MESSAGE CONTROL]
 
 disable=bad-continuation, # black

+ 1 - 0
Pipfile

@@ -8,6 +8,7 @@ ical2vdir = {editable = true,path = "."}
 black = "==19.10b0"
 mypy = "*"
 pylint = "*"
+pylint-import-requirements = "*"
 pytest = "*"
 pytest-cov = "*"
 

+ 13 - 5
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "e2c5a8e7d652e4d9105a73c1517d1855c96063bd26c098993d609af57f9af77d"
+            "sha256": "4e0b3d32252e4ba35e31b00f622c9de93236500f8f36174175d2b4a2b934561d"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -89,6 +89,10 @@
             ],
             "version": "==5.0.3"
         },
+        "ical2vdir": {
+            "editable": true,
+            "path": "."
+        },
         "icalendar": {
             "hashes": [
                 "sha256:347151cb935f5f2f83d58f6dd8aef8558df69f6c1709f1d2cab2000b36def299",
@@ -96,10 +100,6 @@
             ],
             "version": "==4.0.4"
         },
-        "ical2vdir": {
-            "editable": true,
-            "path": "."
-        },
         "importlib-metadata": {
             "hashes": [
                 "sha256:06f5b3a99029c7134207dd882428a66992a9de2bef7c2b699b5641f9886c3302",
@@ -218,6 +218,14 @@
             "index": "pypi",
             "version": "==2.4.4"
         },
+        "pylint-import-requirements": {
+            "hashes": [
+                "sha256:2a2d6bf111e98af48fc5398bab65aea830319c6d02555c4f8660734a8732d6a4",
+                "sha256:d975131b2bc1c839f1a9a0f283665540aa4b516bf986119f527f43d7c7d8e414"
+            ],
+            "index": "pypi",
+            "version": "==1.0.3"
+        },
         "pyparsing": {
             "hashes": [
                 "sha256:4c830582a84fb022400b85429791bc551f1f4871c33f23e44f353119e92f969f",