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
- 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
How to use the linter
-
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.yamlbeing your configuration file andsome_file.pybeing 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mikelint-1.2.6.tar.gz.
File metadata
- Download URL: mikelint-1.2.6.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f36c19bfc27e8ac38bf7f4cba1ccfd9b28b794d8ae0d3e1b967ffebe89341dd
|
|
| MD5 |
fbbe1e2358950f80e462eb605bd920b6
|
|
| BLAKE2b-256 |
4f2beacb173d902fec41f63787c3f74a89625b8661f4c2be4cc60f3126cd97e6
|
File details
Details for the file mikelint-1.2.6-py3-none-any.whl.
File metadata
- Download URL: mikelint-1.2.6-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
541674cca119a7d8d780b39543123ee1d4f5083f77cda8893957af146838a9d4
|
|
| MD5 |
5c8887567e9adca151e7a9aaf0f63ff6
|
|
| BLAKE2b-256 |
34f46c50c589628f86d7d2c738c41f0a8c8c5bb3b12969b7ca5acda20cdcc6e9
|