Skip to content

Yet another attempt at a static analysis tool for CSSE1001

License

Notifications You must be signed in to change notification settings

mike-fam/mikelint

Repository files navigation

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 [email protected]. 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.

About

Yet another attempt at a static analysis tool for CSSE1001

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published