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.yaml
file.
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.recommended
bootstrap: pip install -r requirements.txt
The 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: apply
For more configuration options, refer to the Qodana YAML Reference.