Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "slopometry"
version = "2026.3.20"
version = "2026.3.21"
description = "Opinionated code quality metrics for code agents and humans"
readme = "README.md"
requires-python = ">=3.13"
Expand Down
4 changes: 4 additions & 0 deletions src/slopometry/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

import shutil
import sys
import warnings
from importlib.metadata import version

# REASON: analyzed repos may contain invalid escape sequences that emit SyntaxWarnings during AST parsing
warnings.filterwarnings("ignore", category=SyntaxWarning)

import click

from slopometry.display.console import console
Expand Down
3 changes: 1 addition & 2 deletions src/slopometry/summoner/services/current_impact_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

from slopometry.core.complexity_analyzer import ComplexityAnalyzer
from slopometry.core.context_coverage_analyzer import ContextCoverageAnalyzer
from slopometry.core.git_tracker import GitOperationError
from slopometry.core.database import EventDatabase
from slopometry.core.git_tracker import GitOperationError
from slopometry.core.models.baseline import CurrentChangesAnalysis, GalenMetrics, QPEScore, RepoBaseline, SmellAdvantage
from slopometry.core.models.complexity import ComplexityDelta, ExtendedComplexityMetrics
from slopometry.core.models.hook import AnalysisSource
Expand Down Expand Up @@ -128,7 +128,6 @@ def get_token_count(path_str: str) -> int:
smell_advantages=smell_advantages,
)

# Maximum number of commits to walk back when searching for code changes
MAX_COMMIT_WALKBACK = 10

def analyze_previous_commit(
Expand Down
Loading