Package: sloccount
Version: 2.26-4
Severity: wishlist

Currently, sloccount only recognizes files with the extension .py
as python code.  Adding pyx as another possible
extension whcih contains python code makes the numbers
of a project of mine more accurate.

x4:~/src/a11y/brltty% find . -name \*.py\* -exec wc -l {} \;
40 ./Bindings/Python/setup.py
702 ./Bindings/Python/brlapi.pyx
40 ./Bindings/Python/setup.py.in
26 ./Bindings/Python/mkdoc.py

While pyx is actually binding code, it follows python syntax and should
be consider python.

The modification is simple enough:

x4:/tmp/sloccount-2.26% grep -n pyx break_filelist
180:  "py" => "python", "pyx" => "python",

-- 
Thanks,
  ⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang/[email protected]
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to