fortitude

Crates.iofortitude
lib.rsfortitude
version0.3.0
sourcesrc
created_at2024-09-04 20:53:51.640434
updated_at2024-10-10 13:49:37.875496
descriptionA Fortran linter, written in Rust and installable with Python
homepage
repositoryhttps://github.com/PlasmaFAIR/fortitude
max_upload_size
id1363794
size156,393
(LiamPattinson)

documentation

README

Tests Clippy

Fortitude

A Fortran linter, written in Rust :crab: and installable with Python :snake:.

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.

Commit count: 231

cargo fmt