Skip to main content

A Fortran linter, written in Rust and installable with Python

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fortitude_lint-0.3.0.tar.gz (39.6 kB view hashes)

Uploaded Source

Built Distributions

fortitude_lint-0.3.0-py3-none-win_amd64.whl (1.3 MB view hashes)

Uploaded Python 3 Windows x86-64

fortitude_lint-0.3.0-py3-none-win32.whl (1.2 MB view hashes)

Uploaded Python 3 Windows x86

fortitude_lint-0.3.0-py3-none-musllinux_1_2_x86_64.whl (1.6 MB view hashes)

Uploaded Python 3 musllinux: musl 1.2+ x86-64

fortitude_lint-0.3.0-py3-none-musllinux_1_2_i686.whl (1.6 MB view hashes)

Uploaded Python 3 musllinux: musl 1.2+ i686

fortitude_lint-0.3.0-py3-none-musllinux_1_2_armv7l.whl (1.5 MB view hashes)

Uploaded Python 3 musllinux: musl 1.2+ ARMv7l

fortitude_lint-0.3.0-py3-none-musllinux_1_2_aarch64.whl (1.5 MB view hashes)

Uploaded Python 3 musllinux: musl 1.2+ ARM64

fortitude_lint-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

fortitude_lint-0.3.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.7 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ s390x

fortitude_lint-0.3.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.7 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ppc64le

fortitude_lint-0.3.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl (1.6 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ i686

fortitude_lint-0.3.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.5 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARMv7l

fortitude_lint-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.5 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ ARM64

fortitude_lint-0.3.0-py3-none-macosx_11_0_arm64.whl (1.4 MB view hashes)

Uploaded Python 3 macOS 11.0+ ARM64

fortitude_lint-0.3.0-py3-none-macosx_10_12_x86_64.whl (1.5 MB view hashes)

Uploaded Python 3 macOS 10.12+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page