mctools / ncrystal

NCrystal : a library for thermal neutron transport in crystals and other materials
https://mctools.github.io/ncrystal/
Other
38 stars 17 forks source link

Setup systematic testing with ruff #138

Open tkittel opened 11 months ago

tkittel commented 11 months ago

This could be incredibly useful, but obviously we need to work down through a bunch of false positives.

For v3.7.1 I found and fixed 7 bugs, based on the command:

ruff check --ignore=E501,E731,E713,E741,F405,F401,E714,E402,F403,F841,F541 /some/where//python/NCrystal