A code analyser package for Python.
Code Analyza is available via PyPi.
pip install code-analyza
Run as a script:
code_analyza path/to/file/or/directory
Import as a module:
from code_analyza.linter.checks import analyse
base_path = # set path/to/file/or/directory
issues = analyse(base_path)
Code Analyza currently implements 9 conventions as specified by the PEP 8 – Style Guide for Python Code. They include:
- Code Lay-out
- Indentation
- Maximum Line Length
- Blank Lines
- Comments
- Inline Comments
- Naming Conventions
- Class, Function and Variable Names
- Function and Method Parameters
- Semicolons
- Todos
- Default Arguments
Contributions, issues and feature requests are welcome!
Give a ⭐️ if you like this project!
Copyright (c) 2023 Clifton Davies. This project is licensed under MIT. See LICENSE file for details.