Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.17 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.17 KB

Gitpod Ready-to-Code

customLint

Backend engine for applying custom Lint rules to plane text configuration files

Goals

The goals of customLint is to provide a software solution for linting custom formated and generated configuration files using a rule driven approach. A yaml file will be provided to the program that defines the rule's and actions that need to be taken based on the outcome.

Initial Rule Ideas

  • Each line starts with some specific regex
  • Another rule is that each line in the file has to be unique
  • Another rule is that the start of each line needs to be unique
  • Max amount of characters in a line

Development

Create Python Virtual Development Environment

## Create
pip install virtualenv
virtualenv -p /usr/bin/python3 customLint

## Activate
source customLint/bin/activate

## Deactivate
deactivate

Install requirement's

pip install -r requirements.txt

Update Requirements

pip freeze > requirements.txt

Run Tests

python -m pytest tests