Commit Graph

77 Commits

Author SHA1 Message Date
Florian Bruhin
be21296b38 Use pylint for CRLF checking. 2014-08-06 21:56:10 +02:00
Florian Bruhin
2b058b36ea Remove whitespace line ending checker (handled by pylint) 2014-08-06 21:55:43 +02:00
Florian Bruhin
1cb7b447b7 run_checks: Remove tab-space-checker 2014-08-06 21:17:06 +02:00
Florian Bruhin
eae81fa560 Cleanup 2014-08-06 14:44:00 +02:00
Florian Bruhin
2f1b92aff5 Add custom pylint checker for config. 2014-08-06 14:42:05 +02:00
Florian Bruhin
8fedf1a9be Adjust shebangs to call python3 2014-07-31 21:14:05 +02:00
Florian Bruhin
5feee871ac Fix lint 2014-07-07 12:00:51 +02:00
Florian Bruhin
00fb7b8f68 Don't choke on spaces in filenames in run_checks.py 2014-06-19 13:51:08 +02:00
Florian Bruhin
d65587128f Add vim modelines to all files. 2014-06-19 09:04:37 +02:00
Florian Bruhin
6105b41342 Add shebang/GPL header to scripts 2014-06-19 08:28:05 +02:00
Florian Bruhin
2f1cd43f9c Change lists to tuples for immutable values 2014-06-06 17:21:35 +02:00
Florian Bruhin
70575d61f9 Check for set_trace in scripts 2014-06-03 14:52:53 +02:00
Florian Bruhin
2fd57dc2e3 Add git check to run_checks 2014-05-22 15:19:35 +02:00
Florian Bruhin
ad9c1ed359 flake8: increase max complexity 2014-05-20 17:53:32 +02:00
Florian Bruhin
be446b6607 Run pyroma/check-manifest correctly in run_checks 2014-05-15 08:59:11 +02:00
Florian Bruhin
7f3a21e4f0 Fix lint in scripts 2014-05-15 08:24:10 +02:00
Florian Bruhin
5de6084e50 Don't check scripts with pyroma 2014-05-15 08:12:44 +02:00
Florian Bruhin
8aedd80d05 Ignore ez_setup.py properly 2014-05-15 08:11:11 +02:00
Florian Bruhin
a6dae83731 Run linters on scripts 2014-05-15 07:29:12 +02:00
Florian Bruhin
4a7ccbf131 Fix pyroma on Linux 2014-05-06 19:00:35 +02:00
Florian Bruhin
8010fa8d89 Add unittest to run_checks.py 2014-05-06 14:37:47 +02:00
Florian Bruhin
3753e87465 Depend on appdirs instead of bundling 2014-05-06 06:22:28 +02:00
Florian Bruhin
a4d80ddcac Fix checks 2014-05-05 15:24:04 +02:00
Florian Bruhin
ae0966a384 Fix encoding issues on windows.
locale.getpreferredencoding(False) returns cp1252 on Windows, which is
unable to parse our nice unicode arrows.

Therefore, we always need to specify the encoding when using open().

Also we exclude configdata.py from pep257 on Windows because it doesn't
detect the encoding correctly... Bug is submitted:
https://github.com/GreenSteam/pep257/issues/70
2014-05-02 11:15:38 +02:00
Florian Bruhin
c5e43c1558 Add pyroma to run_checks.py 2014-04-29 08:34:49 +02:00
Florian Bruhin
9252ef94ca Consistent string chars 2014-04-25 16:53:23 +02:00
Florian Bruhin
ae7c04f4e3 Move scripts to scripts/ 2014-04-22 07:20:25 +02:00