mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
style: remove or ignore unused imports
The following files had unused imports removed: - `scripts/30k-image.py` - `scripts/dl_icons.py` - `scripts/redact-cast.py`
This commit is contained in:
parent
09acfc8147
commit
40a5a88d56
4 changed files with 1 additions and 5 deletions
|
@ -132,7 +132,7 @@ def find_non_self_methods(path):
|
||||||
with open(filename, "r") as file:
|
with open(filename, "r") as file:
|
||||||
try:
|
try:
|
||||||
node = ast.parse(file.read(), filename=filename)
|
node = ast.parse(file.read(), filename=filename)
|
||||||
except:
|
except: # noqa: E722
|
||||||
pass
|
pass
|
||||||
checker = SelfUsageChecker()
|
checker = SelfUsageChecker()
|
||||||
checker.visit(node)
|
checker.visit(node)
|
||||||
|
|
|
@ -7,7 +7,6 @@ This creates a shareable social media graphic with confetti animation.
|
||||||
import argparse
|
import argparse
|
||||||
import base64
|
import base64
|
||||||
import math
|
import math
|
||||||
import os
|
|
||||||
import random
|
import random
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
Download Material Design Icons SVGs used in the README and save to local assets.
|
Download Material Design Icons SVGs used in the README and save to local assets.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import json
|
import json
|
||||||
import os
|
|
||||||
import re
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import pyte
|
import pyte
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue