eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py

branch
eric7
changeset 8764
18c69de2292f
parent 8312
800c432b34c8
child 8881
54e42bc2437a
--- a/eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py	Tue Nov 09 19:33:55 2021 +0100
+++ b/eric7/Plugins/CheckerPlugins/CodeStyleChecker/PathLib/PathlibChecker.py	Tue Nov 09 19:34:26 2021 +0100
@@ -21,11 +21,11 @@
     Codes = [
         ## Replacements for the os module functions
         "P101", "P102", "P103", "P104", "P105", "P106", "P107",
-        "P108", "P109", "P110", "P111",
+        "P108", "P109", "P110", "P111", "P112", "P113", "P114",
         
         ## Replacements for the os.path module functions
         "P201", "P202", "P203", "P204", "P205", "P206", "P207",
-        "P208", "P209", "P210", "P211", "P212",
+        "P208", "P209", "P210", "P211", "P212", "P213",
         
         ## Replacements for some Python standrd library functions
         "P301",
@@ -47,6 +47,9 @@
         "os.getcwd": "P109",
         "os.readlink": "P110",
         "os.stat": "P111",
+        "os.listdir": "P112",
+        "os.link": "P113",
+        "os.symlink": "P114",
         
         "os.path.abspath": "P201",
         "os.path.exists": "P202",
@@ -60,6 +63,7 @@
         "os.path.dirname": "P210",
         "os.path.samefile": "P211",
         "os.path.splitext": "P212",
+        "os.path.relpath": "P213",
         
         "open": "P301",
         

eric ide

mercurial