Skip to main content

Linter used for CSSE1001 at UQ

Project description

Mikelint

Yet another attempt at a static analysis tool for CSSE1001.

Prerequisite

You need Python 3.9 or above to run this project. Python 3.8 or below will not work.

Setting up

  1. Clone this repo git clone https://github.com/mike-fam/mikelint.git
  2. cd into the repo and create a new virtual environment
    cd mikelint
    python3.9 -m venv venv && source venv/bin/activate
    
  3. Install the required packages
    pip install -r requirements.txt
    

How to use the linter

  1. Create a config YAML file, an example of a config file is at config.example.yaml. The key-values of the YAML file go from Criteria > Sub-criteria > Analyser/checker.

  2. Run python run.py -c config.yaml -s some_file.py, with config.yaml being your configuration file and some_file.py being the file to run the analyser on.

How to contribute

If you want to contribute, DM me on Facebook or email me at mikepham1207@gmail.com. I'll give you editor access to the repo.

Then, clone this repo and make a new branch, and write your implementation on that branch. Make a new pull request when you're ready. You'll be asked to go through a checklist before opening the PR.

Once I approve the PR, you can merge it to the main branch.

Check out the documentation in the docs directory for more implementation details.

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

mikelint-1.2.6.tar.gz (22.6 kB view hashes)

Uploaded Source

Built Distribution

mikelint-1.2.6-py3-none-any.whl (17.5 kB view hashes)

Uploaded Python 3

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