-
Notifications
You must be signed in to change notification settings - Fork 0
Claude/merge open prs q t5 zn #153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
80f032c
8126175
dd1dcb0
18ef3f7
7466be6
fdf185a
455bed5
1b82c5b
f2bd97d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -22,7 +22,7 @@ env: | |||||
| PYTHON_COLORS: 0 | ||||||
| LC_ALL: C | ||||||
| GITHUB_TOKEN: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} | ||||||
| jobs: | ||||||
| jobs: | ||||||
| update-mirror: | ||||||
| name: Download & Mirror AdLists | ||||||
| runs-on: ubuntu-latest | ||||||
|
|
@@ -46,7 +46,7 @@ jobs: | |||||
| id: update | ||||||
| run: | | ||||||
| set -e; mkdir -p lists/mirror | ||||||
| uv run python3 -OO Scripts/update-lists.py --output-dir lists/mirror --max-concurrent 8 | ||||||
| uv run python3 -OO -m Scripts.update_lists --output-dir lists/mirror --max-concurrent 8 | ||||||
|
||||||
| uv run python3 -OO -m Scripts.update_lists --output-dir lists/mirror --max-concurrent 8 | |
| uv run python3 -OO Scripts/update-lists.py --output-dir lists/mirror --max-concurrent 8 |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,9 +1,7 @@ | ||||||
| import unittest | ||||||
| import sys | ||||||
| from pathlib import Path | ||||||
|
|
||||||
|
|
||||||
| from deduplicate import process_content, is_header, is_valid_rule | ||||||
| # Add current directory to path to allow importing deduplicate | ||||||
|
||||||
| # Add current directory to path to allow importing deduplicate | |
| # Import deduplication helpers from the Scripts.deduplicate module |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,11 @@ | ||
| import unittest | ||
| import sys | ||
| from pathlib import Path | ||
| import importlib | ||
|
|
||
|
|
||
| # Import ADGUARD_INDICATORS from common | ||
| from common import ADGUARD_INDICATORS | ||
| from Scripts.common import ADGUARD_INDICATORS | ||
|
|
||
| # Import is_pure_domain from move-pure-domains | ||
| move_pure_domains = importlib.import_module("move-pure-domains") | ||
| is_pure_domain = move_pure_domains.is_pure_domain | ||
| from Scripts.move_pure_domains import is_pure_domain | ||
|
Comment on lines
+5
to
+8
|
||
|
|
||
|
|
||
| class TestIsPureDomain(unittest.TestCase): | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |||||
| from unittest.mock import Mock, mock_open | ||||||
|
|
||||||
| # Import the module dynamically | ||||||
| file_path = Path(__file__).parent / "move-pure-domains.py" | ||||||
| file_path = Path(__file__).parent / "move_pure_domains.py" | ||||||
|
||||||
| file_path = Path(__file__).parent / "move_pure_domains.py" | |
| file_path = Path(__file__).parent / "move-pure-domains.py" |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -20,7 +20,8 @@ class ClientError(Exception): | |||
| sys.modules["aiohttp"] = aiohttp_mock | ||||
| sys.modules["aiofiles"] = MagicMock() | ||||
|
|
||||
| spec = importlib.util.spec_from_file_location("update_lists", "Scripts/update-lists.py") | ||||
| spec = importlib.util.spec_from_file_location("update_lists", "Scripts/update_lists.py") | ||||
| >>>>>>> origin/jules/fix-sys-path-boilerplate-6564146397324574189 | ||||
|
||||
| >>>>>>> origin/jules/fix-sys-path-boilerplate-6564146397324574189 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path key appears to contain an unintended space (
. github/workflows/*.yml:) which likely prevents actionlint from matching workflow files under.github/workflows/*.yml. Replace it with the correct path (no space) so theignorerules apply.