Skip to content

Commit 5a6d6bd

Browse files
author
Matthias Koeppe
committed
src/.relint.yml: Use the same filePattern for namespace_pkg_all_import*
1 parent 1fe5d38 commit 5a6d6bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/.relint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
# Keep in sync with SAGE_ROOT/src/sage/misc/replace_dot_all.py
5252
pattern: 'from\s+sage(|[.](arith|categories|combinat|crypto|databases|data_structures|dynamics|ext|game_theory|games|geometry|graphs|groups|interfaces|manifolds|matrix|matroids|misc|modules|monoids|numerical|probability|quadratic_forms|quivers|rings|sat|schemes|sets|stats|symbolic|tensor)[a-z0-9_.]*|[.]libs)[.]all\s+import'
5353
# imports from .all are allowed in all.py; also allow in some modules that need sage.all
54-
filePattern: '(.*/|)(?!(all|benchmark|dev_tools|parsing|sage_eval))[^/.]*[.](py|pyx|pxi)$'
54+
filePattern: '(.*/|)(?!(all|benchmark|dev_tools|parsing|sage_eval|explain_pickle|.*_test))[^/.]*[.](py|pyx|pxi)$'
5555

5656
- name: 'namespace_pkg_all_import_2: Module-level import of .all of a namespace package'
5757
hint: |

0 commit comments

Comments
 (0)