Automatic checking of the sources on global level

Jaroslaw Staniek staniek at kde.org
Tue Aug 13 14:19:16 BST 2013


On 11 August 2013 15:10, Inge Wallin <inge at lysator.liu.se> wrote:
> I have written a new python script a bit like fixsrc.py called chksrc.py.
> Like the name suggests it only checks and reports on problems, it doesn't
> fix anything.
[..]

Hi Inge,
Thanks for this effort. I tested it on kexi/plugins/importexport/csv
and the result is

directory "kexi/plugins//importexport/csv" has the following export macros:
  KexiCSVImportExport
  KexiCSVExport


It looks like this (proper) line of kexicsvexportwizard.h tricks the script:

class KexiCSVExportWizard : public KAssistantDialog

Can't we check just for uppercase EXPORT patterns?

-- 
regards / pozdrawiam, Jaroslaw Staniek
 Kexi & Calligra & KDE | http://calligra.org/kexi | http://kde.org
 Qt for Tizen | http://qt-project.org/wiki/Tizen
 Qt Certified Specialist | http://www.linkedin.com/in/jstaniek



More information about the calligra-devel mailing list