Metadata-Version: 2.1
Name: mikelint
Version: 1.2.2
Summary: Linter used for CSSE1001 at UQ
Home-page: https://github.com/mike-fam/mikelint
Author: Mike Pham
Author-email: mikepham1207@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# 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
    ```shell
    cd mikelint
    python3.9 -m venv venv && source venv/bin/activate
    ```
3. Install the required packages
   ```shell
   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.

