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

bin+lib fortitude

A Fortran linter, written in Rust and installable with Python

2 unstable releases

new 0.2.0 Sep 15, 2024
0.1.0 Sep 4, 2024

#956 in Development tools

Download history 133/week @ 2024-09-02

133 downloads per month

MIT license

69KB
2K 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

~11–23MB
~333K SLoC