Giter VIP home page Giter VIP logo

statue's Introduction

Statue

Python Versions PyPI Version Maturity License Build Status CodeCov

Statue is an orchestration tool for static code analysis. It combines the overall power of several linters and formatters into one consistent tool that prevents unwanted conflicts. With Statue you can integrate tools such as mypy, pylint, black, isort and many others.

Installation

In order to install Statue, run:

pip install statue

Simple Usage

In order to run Statue over a source folder src with standard context, run:

statue run src

Run In Context

Run Statue in specific contexts in order to evaluate different files in various ways. For example, run Statue over a unit tests folder with the "test" context:

statue run unit_tests --context=test

Use A Configuration File

Add a configuration file in order let statue know how to evaluate your code. simply add a statue.toml file to your repository's root directory. Here's an example file:

[sources.src]

[sources.tests]
contexts = ["test"]

Now you can simply run statue run and Statue will evaluate you repository without contexts problems.

Contributing

If you experience problems with Statue, log them on GitHub.

If you want to contribute code, please fork the code and submit a pull request.

statue's People

Contributors

saroad2 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.