Commit Graph

59 Commits

Author SHA1 Message Date
Florian Bruhin
f69acd25be Add print_title/print_subtitle to utils.py 2014-12-04 21:35:20 +01:00
Florian Bruhin
aa3b9b7f35 run_checks: Fix exit status. 2014-12-03 23:11:37 +01:00
Florian Bruhin
7e579740aa run_checks: Add a -q flag. 2014-12-03 23:10:23 +01:00
Florian Bruhin
655115858c Handle OSError when using subprocess. 2014-11-23 18:07:05 +01:00
Florian Bruhin
ef83374fd3 Clean up run_checks a bit. 2014-10-26 22:09:06 +01:00
Florian Bruhin
bb031b51f7 Make most scripts work if we're in scripts/ directory.
See #213.
2014-10-26 19:42:01 +01:00
Florian Bruhin
d3b1a5efb4 Raise useful exception in run_checks if config wasn't found.
See #213.
2014-10-26 19:40:52 +01:00
Florian Bruhin
d674b90240 Clean up FIXMEs and add github URLs 2014-10-01 22:23:27 +02:00
Florian Bruhin
8095de6c59 Get rid of the getcwd hack in scripts. 2014-09-22 20:41:12 +02:00
Florian Bruhin
a7c1f38344 Use scripts.utils for colors in scripts. 2014-09-22 20:29:37 +02:00
Florian Bruhin
e26606b0d6 Add /usr/bin/env to shebangs 2014-09-22 20:21:00 +02:00
Florian Bruhin
812a0fdd41 Merge branch 'newcmd'
Conflicts:
	.flake8
	pkg/PKGBUILD.qutebrowser-git
	qutebrowser/browser/commands.py
	qutebrowser/browser/hints.py
	qutebrowser/config/configdata.py
	qutebrowser/network/qutescheme.py
	qutebrowser/test/config/test_configtypes.py
	qutebrowser/utils/utils.py
2014-09-22 19:09:48 +02:00
Florian Bruhin
5eef6d422d Better exception formatting and handling. 2014-09-16 08:20:19 +02:00
Florian Bruhin
381b06e967 Fix lint 2014-09-08 07:44:32 +02:00
Florian Bruhin
d625cde28c Clean up imports 2014-08-26 19:10:14 +02:00
Florian Bruhin
7f6b44e4b0 run_checks: Add PWD to os.path.
Without this change, running checkers when not running unittests failed,
because qutebrowser couldn't be imported.
2014-08-20 07:14:12 +02:00
Florian Bruhin
7512d766d4 run_checks: Colorize exit status 2014-08-14 20:58:39 +02:00
Florian Bruhin
0f1c819b89 run_checks: Add some colors 2014-08-14 20:42:11 +02:00
Florian Bruhin
cc4fd46c6f run_checks: Refactor checks if checker is enabled. 2014-08-14 20:08:30 +02:00
Florian Bruhin
0f00ce244e run_checks: More refactoring 2014-08-14 18:02:38 +02:00
Florian Bruhin
dbc9a53e1c run_checks: Refactor running of checkers 2014-08-14 16:14:21 +02:00
Florian Bruhin
9281f30c7b run_checks: Use argparse 2014-08-14 15:32:42 +02:00
Florian Bruhin
b610a968cc run_checks: Re-enable pylint plugins. 2014-08-12 22:38:36 +02:00
Florian Bruhin
e248c53358 run_checks: Rename CONFIG to config. 2014-08-12 22:38:28 +02:00
Florian Bruhin
dc00f346f4 run_checks: Add docstring to main 2014-08-12 21:12:31 +02:00
Florian Bruhin
01ec30cda3 run_checks: Add main block 2014-08-12 18:48:31 +02:00
Florian Bruhin
2d1f84e7f0 run_checks: Always run pep257 2014-08-12 18:47:11 +02:00
Florian Bruhin
720e56cdc1 run_checks: Add configfile 2014-08-12 18:46:54 +02:00
Florian Bruhin
75b4fe9ce2 Use tokenize.open for run_checks and add note to TODO 2014-08-07 14:56:27 +02:00
Florian Bruhin
debc76ce79 run_checks: Refactor VCS commit checking. 2014-08-07 00:40:20 +02:00
Florian Bruhin
e05975aff3 Use pylint to check for set_trace calls. 2014-08-07 00:07:01 +02:00
Florian Bruhin
c7ee655750 Use pylint to check modelines and fix them. 2014-08-06 23:51:44 +02:00
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