| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,7 @@ exclude = [ | |||
| 5 | 5 | "tools/gyp", | |
| 6 | 6 | "tools/inspector_protocol", | |
| 7 | 7 | "tools/eslint/node_modules", | |
| 8 | + "tools/github_reporter" | ||
| 8 | 9 | ] | |
| 9 | 10 | line-length = 172 | |
| 10 | 11 | target-version = "py38" | |
@@ -40,12 +41,6 @@ ignore = [ | |||
| 40 | 41 | [tool.ruff.lint.mccabe] | |
| 41 | 42 | max-complexity = 100 | |
| 42 | 43 | ||
| 43 | - [tool.ruff.lint.per-file-ignores] | ||
| 44 | - "tools/checkimports.py" = ["W605"] | ||
| 45 | - "tools/gyp/pylib/gyp/xcodeproj_file.py" = ["PLE0101"] | ||
| 46 | - "tools/icu/shrink-icu-src.py" = ["W605"] | ||
| 47 | - "tools/mkssldef.py" = ["W605"] | ||
| 48 | - | ||
| 49 | 44 | [tool.ruff.lint.pylint] | |
| 50 | 45 | max-args = 12 | |
| 51 | 46 | max-branches = 110 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -48,7 +48,7 @@ def print_size(fn): | |||
| 48 | 48 | size = (os.stat(fn).st_size) / 1024000 | |
| 49 | 49 | print('%dM\t%s' % (size, fn)) | |
| 50 | 50 | ||
| 51 | - ignore_regex = re.compile('^.*\.(vcxproj|filters|nrm|icu|dat|xml|txt|ac|guess|m4|in|sub|py|mak)$') | ||
| 51 | + ignore_regex = re.compile(r'^.*\.(vcxproj|filters|nrm|icu|dat|xml|txt|ac|guess|m4|in|sub|py|mak)$') | ||
| 52 | 52 | ||
| 53 | 53 | def icu_ignore(dir, files): | |
| 54 | 54 | subdir = dir[len(options.icusrc)+1::] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments