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 @@ -19,5 +19,5 @@ package-dir = {"" = "src"}
where = ["src"]

[tool.ruff]
ignore = ["E701"]
ignore = ["E701", "E702", "E741", "F841", "F821", "B008", "F401", "F601", "E402"]
target-version = "py311"
2 changes: 1 addition & 1 deletion scripts/gate_codex_app_review.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def main() -> int:
pr_number = pr.get("number")
head_sha = (pr.get("head") or {}).get("sha")
if not pr_number or not head_sha:
print(f"::warning::Cannot resolve PR context"); return 0
print("::warning::Cannot resolve PR context"); return 0

print(f"PR #{pr_number} sha={head_sha[:12]} event={event_name}")

Expand Down
1 change: 0 additions & 1 deletion scripts/research_combo_dynamic_backtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from __future__ import annotations

import argparse
import math
import sys
from typing import Any

Expand Down
3 changes: 1 addition & 2 deletions scripts/research_crypto_dca_backtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import argparse
import math
import sys
from typing import Any

import numpy as np
import pandas as pd
Expand Down Expand Up @@ -520,7 +519,7 @@ def print_report(
print(f" Smart multipliers: bottom={AHR999_BOTTOM_MULT}x accum={AHR999_ACCUMULATION_MULT}x "
f"dca={AHR999_DCA_MULT}x severe={SEVERE_MULT}x")
print()
print(f" Note: CAGR/TotalRet computed from first non-zero equity (first DCA buy).")
print(" Note: CAGR/TotalRet computed from first non-zero equity (first DCA buy).")
print()

# Full period summary
Expand Down
2 changes: 0 additions & 2 deletions tests/test_crypto_btc_dca.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

import math
import unittest
from unittest.mock import MagicMock

import pandas as pd

from crypto_strategies.strategies.crypto_btc_dca import (
PROFILE_NAME,
Expand Down
Loading