Commit Graph

13 Commits

Author SHA1 Message Date
Alberth
c5bf80fbfb Switch to Python3 2018-07-31 16:38:51 +02:00
Alberth
12d7745709 Use a regular expression to find trailing whitespace 2018-07-31 16:34:26 +02:00
Anton Shestakov
14b6bbfe93 scripts: report number of checked files 2018-07-31 16:48:00 +08:00
Anton Shestakov
af4006359d scripts: report all problematic files, each on its own line 2018-07-28 14:46:17 +08:00
Anton Shestakov
f85e011d7f scripts: indent using 4 spaces 2018-07-28 14:38:39 +08:00
Anton Shestakov
7ee81c90fe scripts: use str.format() instead of concatenating in some places 2018-07-28 14:01:55 +08:00
Anton Shestakov
95a04308d8 scripts: use os.path to form paths 2018-07-28 13:45:56 +08:00
Anton Shestakov
9f255104e1 scripts: give str.endswith() a tuple of suffixes 2018-07-28 13:11:17 +08:00
Anton Shestakov
e38e040e07 scripts: remove unneeded parentheses 2018-07-28 12:54:27 +08:00
Anton Shestakov
0080a95461 scripts: add empty lines around class/function definitions 2018-07-26 08:27:56 +08:00
Anton Shestakov
97b93420d8 scripts: remove unused imports from python scripts 2018-07-26 08:15:54 +08:00
Alberth
4802e64322 Fix (mostly trailing) white spaces, and attempt to repair the script. 2015-01-19 21:55:48 +01:00
Mounir Lamouri
18489c96b9 Add a script to check whether files in the working directory have trailing whitespaces. 2014-04-04 09:58:53 -04:00