Yet another attempt at a static analysis tool for CSSE1001.
You need Python 3.9 or above to run this project. Python 3.8 or below will not work.
- Clone this repo
git clone https://github.com/mike-fam/mikelint.git
- cd into the repo and create a new virtual environment
cd mikelint python3.9 -m venv venv && source venv/bin/activate
- Install the required packages
pip install -r requirements.txt
-
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. -
Run
python run.py -c config.yaml -s some_file.py
, withconfig.yaml
being your configuration file andsome_file.py
being the file to run the analyser on.
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.