Skip to content

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

License

Notifications You must be signed in to change notification settings

cfkoehler/customLint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages