User talk:Bukzor: Difference between revisions

remove duplicate information
(→‎Code quality: A way to automate your usage of pylint.)
(remove duplicate information)
 
(8 intermediate revisions by 2 users not shown)
Line 11:
::Cool. If you know some more, mark em and I'll take a crack at it. --[[User:Bukzor|Bukzor]] 21:06, 19 April 2010 (UTC)
::: Use the MediaWiki API to grab a list of the pages in [[:Category:Python]]. Those will have Python code. Then grab the HTML for those pages, put them into a DOM. The way I have the syntax highlighting set up, any use of the lang tag will apply the language keyword as a CSS class. You should be able to select for "python" as a CSS class, and get lumps of Python code. I bet you could automate feeding that code through pylint and having it save you a report of pages->scores, so you instantly know where the most problematic code is. --[[User:Short Circuit|Michael Mol]] 01:06, 20 April 2010 (UTC)
::::I really like that idea. See my user page for progress notes.
 
:I wish someone would check my VBScript. Am I the only person on this thing who still uses it? -- [[User:Axtens|Axtens]] 04:01, 20 April 2010 (UTC)
:: Technically, [[:Category:VBScript User|no]]. (*really* needs to go to sleep.) --[[User:Short Circuit|Michael Mol]] 07:47, 19 April 2010 (UTC)
Anonymous user