chore: add __pycache__ to .gitignore and remove sys.path hack in tests

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-03-23 01:43:12 +08:00
parent 028c642a8e
commit c5dd3060ef
2 changed files with 1 additions and 3 deletions

1
.gitignore vendored
View File

@@ -3,6 +3,7 @@
# python # python
.venv/ .venv/
__pycache__/
*.py[co] *.py[co]
# website # website

View File

@@ -1,10 +1,7 @@
"""Tests for fetch_github_stars module.""" """Tests for fetch_github_stars module."""
import json import json
import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
from fetch_github_stars import ( from fetch_github_stars import (
build_graphql_query, build_graphql_query,
extract_github_repos, extract_github_repos,