mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
refac to help_pats
This commit is contained in:
parent
6c92dedac1
commit
929aa7f9ac
3 changed files with 12 additions and 12 deletions
|
@ -8,20 +8,10 @@ import importlib_resources
|
|||
|
||||
from aider import __version__
|
||||
from aider.dump import dump # noqa: F401
|
||||
from aider.help_pats import exclude_website_pats
|
||||
|
||||
warnings.simplefilter("ignore", category=FutureWarning)
|
||||
|
||||
exclude_website_pats = [
|
||||
"examples/**",
|
||||
"_posts/**",
|
||||
"HISTORY.md",
|
||||
"docs/benchmarks*md",
|
||||
"docs/ctags.md",
|
||||
"docs/unified-diffs.md",
|
||||
"docs/leaderboards/index.md",
|
||||
"assets/**",
|
||||
]
|
||||
|
||||
|
||||
def get_package_files():
|
||||
for path in importlib_resources.files("aider.website").iterdir():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue