Disclaimer : under construction
Tags :
- open_source : pypi, gitlab.com, readthedocs.
- tool : Fortran linter compatible with a continuous integration.
- training : Learn a Fortran coding standard .
- Python package : available on pypi.
- Excellerat: Relative to the task WP7.2 of the initial project: Allowing linting in CI for Fortran projects
Flint : a syntax score for Fortran
Flint is a small Fortran Linter, impired from pylint for python giving information on how to improve the code. A standard output is :
(...)
1427:19: Missing space after ponctuation :
WRITE(fileid,'(A,A,A)') "SCALARS ",TRIM(varname)," float 1"
^
1427:21: Missing space after ponctuation :
WRITE(fileid,'(A,A,A)') "SCALARS ",TRIM(varname)," float 1"
^
1427:37: Missing space after ponctuation :
WRITE(fileid,'(A,A,A)') "SCALARS ",TRIM(varname)," float 1"
^
1428:19: Missing space after ponctuation :
WRITE(fileid,'(A,A,A)') "LOOKUP_TABLE default"
^
1428:21: Missing space after ponctuation :
WRITE(fileid,'(A,A,A)') "LOOKUP_TABLE default"
^
1429:11: Missing space after ponctuation :
DO n = 1,nnode
^
--------------------------------------------------
Your code has been rated 3.73/10
This work has been supported by the EXCELLERAT project which has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 823691.