Commit graph

15 commits

Author SHA1 Message Date
Dhananjay Nakrani
030580e720 Rename check_whitespace_url_len() -> check_by_line(). 2015-04-21 10:20:13 -07:00
Dhananjay Nakrani
7453959426 Refactor tidy.py to reduce code duplication. 2015-04-21 10:20:12 -07:00
Dhananjay Nakrani
a0295b7489 Make tidy.py check for links to spec pages. [Issue#5730] 2015-04-21 10:20:11 -07:00
Simon Sapin
2a6f2cde50 Check license headers in ./tests 2015-04-08 01:07:56 +02:00
bors-servo
9f3493b5bb auto merge of #5039 : psdh/servo/tidy, r=jdm
Fixes #5034
2015-03-31 12:42:56 -06:00
Prabhjyot Singh Sodhi
2fdc1cbaa8 Making tidy.py check ports/glutin and ports/gonk 2015-03-31 16:37:30 +05:30
Gilles Leblanc
54dfb659ec Organize reftest list alphabetically and make the tidy script check it
Reftest list check is checked using Python's default string comparison.
Also added a notice in the tidy script when there are no errors.

Fixes #5092
2015-03-07 17:51:17 +01:00
Manish Goregaokar
d715241085 Test gonk in tidy 2015-02-23 21:19:35 +05:30
Ms2ger
394f816343 Disallow lines that span more than 160 columns.
The Rust style guide suggests 100, but we have too many violations in the
tree already. This check can be tightened over time.
2015-01-19 13:48:32 +01:00
Ms2ger
16c7060bc8 Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. 2015-01-08 09:58:46 -05:00
Manish Goregaokar
f6b6687e53 Make tidy ingore new target dir 2014-12-04 22:21:42 -08:00
Duncan Keall
74cc288cdb Use os.path.join instead of manually inserting slashes. 2014-09-10 11:03:21 +12:00
Duncan Keall
8e25e958ab Cleaned up python/licenseck.py
- Moved logic into tidy.py
- Removed explicit BSD license exceptions, they are already ignored by
  being inside the codegen directory.
2014-09-10 10:01:46 +12:00
Duncan Keall
6c48066565 Refactor python/tidy.py to not use globals. Fixes #3242 2014-09-10 10:01:46 +12:00
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00
Renamed from src/etc/tidy.py (Browse further)