This project uses Qodana for automated code analysis and linting. Qodana helps ensure code quality by identifying potential bugs, code smells, and other issues using JetBrains' comprehensive set of inspections. The configuration is managed using the qodana.yaml file.
To set up the environment for Qodana analysis, follow these steps:
-
Install the required Python dependencies:
pip install -r requirements.txt
-
The code analysis process is configured in the
qodana.yamlfile.
The Qodana configuration is defined in the qodana.yaml file, and here are the key components:
version: "1.0"The inspection profile is set to qodana.recommended, which applies JetBrains' recommended inspections.
profile:
name: qodana.recommendedbootstrap: pip install -r requirements.txtThe Qodana linter used for this project is jetbrains/qodana-python:latest, which is suited for Python code analysis.
linter: jetbrains/qodana-python:latest
Fixes are applied to the codebase using the apply strategy.
fixesStrategy: applyFor more configuration options, refer to the Qodana YAML Reference.