mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 04:50:36 +03:00
17 lines
351 B
PowerShell
17 lines
351 B
PowerShell
# Run coverage analysis
|
|
$backend = Resolve-Path -Path "$PSScriptRoot\..\..\rsconcept\backend"
|
|
|
|
function RunLinters() {
|
|
BackendLint
|
|
}
|
|
|
|
function BackendLint() {
|
|
$pylint = "$backend\venv\Scripts\pylint.exe"
|
|
$mypy = "$backend\venv\Scripts\mypy.exe"
|
|
|
|
Set-Location $backend
|
|
& $pylint cctext project apps
|
|
& $mypy cctext project apps
|
|
}
|
|
|
|
RunLinters |