#fortran #linter #python #rules #explain #check #installable

bin+lib fortitude

A Fortran linter, written in Rust and installable with Python

3 releases (breaking)

0.3.0 Oct 10, 2024
0.2.0 Sep 15, 2024
0.1.0 Sep 4, 2024

#1721 in Development tools

Download history 113/week @ 2024-08-31 25/week @ 2024-09-07 173/week @ 2024-09-14 35/week @ 2024-09-21 15/week @ 2024-09-28 129/week @ 2024-10-05 36/week @ 2024-10-12 3/week @ 2024-10-19

190 downloads per month

MIT license

130KB
3.5K SLoC

Tests Clippy

Fortitude

A Fortran linter, written in Rust 🦀 and installable with Python 🐍.

Table of Contents

Installation

Fortitude can be installed directly into your Python environment:

pip install fortitude-lint

It is also available as a pure Rust project:

cargo install fortitude

Usage

Fortitude can lint your project using the check command:

fortitude check my_code.f90

You can also call check on directories, and if no files are provided, fortitude will search for them from your current working directory.

The explain command can be used to get extra information about any rules:

fortitude explain B023

If no rules are provided, this will print all rule descriptions to the terminal.

To see further commands and optional arguments, try using --help:

fortitude --help
fortitude check --help

Contributing

Please feel free to add or suggest new rules or comment on the layout of the project while it's still at this early stage of development. See CONTRIBUTING.md for a guide on contributing to the project, and README.dev.md for details on building the project from source, running tests, and linting/formatting the code. Please consult our code of conduct before contributing.

License

This work is distributed under the MIT License. See LICENSE for more information.

Dependencies

~22–34MB
~565K SLoC