Skip to content

Commit 865efc2

Browse files
committed
Merge branch 'master' of https://github.com/verixx/modmail
2 parents 9e4eba4 + 1443058 commit 865efc2

File tree

16 files changed

+2517
-2435
lines changed

16 files changed

+2517
-2435
lines changed

.lint.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@
66

77
THRESHOLD = 9.75
88

9-
cogs = [join('cogs', c) for c in listdir('cogs') if c.endswith('.py')]
10-
core = [join('core', c) for c in listdir('core') if c.endswith('.py')]
9+
cogs = [join("cogs", c) for c in listdir("cogs") if c.endswith(".py")]
10+
core = [join("core", c) for c in listdir("core") if c.endswith(".py")]
1111

12-
results = Run(['bot.py', *cogs, *core],
13-
do_exit=False)
12+
results = Run(["bot.py", *cogs, *core], do_exit=False)
1413

15-
score = results.linter.stats['global_note']
14+
score = results.linter.stats["global_note"]
1615
if score <= THRESHOLD:
1716
sys.exit(1)

.pylintrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ disable=raw-checker-failed,
8080
too-many-arguments,
8181
too-few-public-methods,
8282
too-many-lines,
83-
line-too-long
83+
line-too-long,
84+
bad-continuation,
85+
invalid-name
8486

8587

8688
# Enable the message, report, category or checker with the given id(s). You can

0 commit comments

Comments
 (0)