Files
2012-02-21 01:15:00 -05:00

1 line
6.8 KiB
JSON

[{"user_id": 1, "stars": [], "topic_id": 9456, "date_created": 1298864308.051496, "message": "That sounds amazing, I want it!", "group_id": 81, "id": 223452}, {"user_id": 6894, "stars": [], "topic_id": 9456, "date_created": 1298862551.7683151, "message": "I'm looking for a project that checks django code and templates for badness. What's out there?", "group_id": 81, "id": 223403}, {"user_id": 6894, "stars": [], "topic_id": 9456, "date_created": 1298862654.7227421, "message": "Also it looks like it hasn't had any attention since July https://github.com/lamby/django-lint", "group_id": 81, "id": 223405}, {"user_id": 6894, "stars": [], "topic_id": 9456, "date_created": 1298862588.4989419, "message": "I've found django-lint, to me it looks quite ugly and it doesn't do templates (which is the main thing I want it for)", "group_id": 81, "id": 223404}, {"user_id": 7, "stars": [], "topic_id": 9456, "date_created": 1298862687.8243859, "message": "its called reading the code :)", "group_id": 81, "id": 223406}, {"user_id": 15284, "stars": [], "topic_id": 9456, "date_created": 1298863041.998368, "message": "I looked for something like this a couple months ago and I did not find anything. So +1 to @alex :-)", "group_id": 81, "id": 223418}, {"user_id": 6894, "stars": [], "topic_id": 9456, "date_created": 1298863368.3099389, "message": "If not maybe I'll have to fork django-lint and add it myself", "group_id": 81, "id": 223426}, {"user_id": 214, "stars": [{"date_created": 1298864241.45012, "user_id": 1}], "topic_id": 9456, "date_created": 1298863808.901309, "message": "I'd use this if it existed. I'd also write emacs integration for it.", "group_id": 81, "id": 223432}, {"user_id": 6894, "stars": [{"date_created": 1298862962.6182981, "user_id": 1}, {"date_created": 1299308883.166734, "user_id": 2482}], "topic_id": 9456, "date_created": 1298862952.5626941, "message": "@alex sure, but you've got to admit, tools that check this stuff make human error less likely... pyflakes for instance is basically a must-have for code cleanup. I run it as a git pre-commit hook", "group_id": 81, "id": 223415}, {"user_id": 6894, "stars": [{"date_created": 1298864252.3801861, "user_id": 1}, {"date_created": 1298932910.079972, "user_id": 2024}, {"date_created": 1299004698.045357, "user_id": 14865}, {"date_created": 1299308916.736932, "user_id": 2482}], "topic_id": 9456, "date_created": 1298863660.335017, "message": "Stuff in templates I'd like to check:\n - syntax errors / undefined tags\n - unescaped entities embedded in html templates\n - unnecessary {% load %} blocks\n - broken includes\n - include loops\n - bad block hierarchy (causing template parts to get ignored)\n - stuff outside of blocks in child templates\n - empty / unused blocks\n - unused templates (possible? maybe not)", "group_id": 81, "id": 223430}, {"user_id": 12664, "stars": [], "topic_id": 9456, "date_created": 1298863187.2247519, "message": "I've been using this PyFlakes bundle for TextMate by David Cramer http://justcramer.com/2010/11/30/integrating-pyflakes-into-textmate/", "group_id": 81, "id": 223421}, {"user_id": 1736, "stars": [{"date_created": 1298864251.138263, "user_id": 1}, {"date_created": 1298910144.2156489, "user_id": 214}], "topic_id": 9456, "date_created": 1298864229.734499, "message": "Pretty sure looking for unused templates would be a minor variant of the halting problem :)", "group_id": 81, "id": 223449}, {"user_id": 6894, "stars": [], "topic_id": 9456, "date_created": 1298863349.256104, "message": "@arthurcase yeah, I've seen that, quite handy. I'm already using pyflakes though, wondering if there's something higher level that checks django-specific badness. Especially templates...", "group_id": 81, "id": 223424}, {"user_id": 7, "stars": [{"date_created": 1298910156.0568449, "user_id": 214}], "topic_id": 9456, "date_created": 1298864061.3852451, "message": "Yeah you're not going to be able to do that analysis statically", "group_id": 81, "id": 223440}, {"user_id": 6894, "stars": [], "topic_id": 9456, "date_created": 1298864706.523108, "message": "ok so as @alex says, static checking is probably out. So I guess this should be a separate project from django-lint (which is a static checker)", "group_id": 81, "id": 223472}, {"user_id": 7129, "stars": [{"date_created": 1299308952.1241181, "user_id": 2482}], "topic_id": 9456, "date_created": 1298883650.4680929, "message": "django-lint author here. Static checking of templates is pretty much impossible unfortunately.", "group_id": 81, "id": 224381}, {"user_id": 1127, "stars": [], "topic_id": 9456, "date_created": 1298931131.4341249, "message": "We should totally integrate django-lint into the textmate bundle", "group_id": 81, "id": 229896}, {"user_id": 6894, "stars": [], "topic_id": 9456, "date_created": 1299049140.106108, "message": "That could work :)", "group_id": 81, "id": 245455}, {"user_id": 12002, "stars": [], "topic_id": 9456, "date_created": 1299073494.2000411, "message": "django-vacuum", "group_id": 81, "id": 246959}, {"user_id": 6894, "stars": [], "topic_id": 9456, "date_created": 1299049014.33619, "message": "I'm starting work on a non-static template checker. No promises if or when it'll be usable...", "group_id": 81, "id": 245448}, {"user_id": 6894, "stars": [], "topic_id": 9456, "date_created": 1299049019.284564, "message": "Need a good name. django-templatechecker seems a little verbose", "group_id": 81, "id": 245449}, {"user_id": 3354, "stars": [], "topic_id": 9456, "date_created": 1299049075.3628421, "message": "django-tc?", "group_id": 81, "id": 245453}, {"user_id": 13817, "stars": [], "topic_id": 9456, "date_created": 1299093880.3360569, "message": "@airstrike +1", "group_id": 81, "id": 252060}, {"user_id": 6894, "stars": [], "topic_id": 9456, "date_created": 1299297428.148474, "message": "Here's a start: https://github.com/craigds/django-vacuum . I'd appreciate any help adding rules and stuff to make it awesome :) It works right now but only checks for a few things", "group_id": 81, "id": 275014}, {"user_id": 6894, "stars": [{"date_created": 1299715786.929548, "user_id": 12002}], "topic_id": 9456, "date_created": 1299297413.43554, "message": "@airstrike +2 - done :)", "group_id": 81, "id": 275012}, {"user_id": 2810, "stars": [], "topic_id": 9456, "date_created": 1299315027.4644201, "message": "@craigds can it be executed from the command line without pluging it into the django config files? For me it's important to run something like this from within a test suite, which could be run onto multiple projects. I can make sure that the proper environment (e.g. virtualenv with all eggs) has been loaded, but the checker should be runnable from there on.", "group_id": 81, "id": 275592}, {"user_id": 6894, "stars": [], "topic_id": 9456, "date_created": 1299366179.946979, "message": "@theblacklion yep good plan https://github.com/craigds/django-vacuum/issues/3", "group_id": 81, "id": 277899}]