Skip to content

Commit ac4b33f

Browse files
author
Release Manager
committed
gh-40172: remove old stuff in relint.yml namely remove checks for python3-incompatible code ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: #40172 Reported by: Frédéric Chapoton Reviewer(s):
2 parents bb6db9d + 50a8034 commit ac4b33f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/.relint.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# Simple pattern exclusions
22

3-
- name: 'python3: Python3 incompatible code'
4-
hint: |
5-
# ifilter, imap, izip # __metaclass__
6-
# update raise statements # except Exception, var
7-
# six is no longer allowed
8-
pattern: '(import.*[, ]ifilter|import.*[, ]imap|import.*[, ]izip|^\s*raise\s*[A-Za-z]*Error\s*,|__metaclass__|except\s*[A-Za-z]\s*,|import six|from six import)'
9-
filePattern: .*[.](py|pyx|rst)
10-
113
- name: 'foreign_latex: foreign commands in LaTeX'
124
hint: |
135
use equivalent LaTeX commands instead of plain TeX commands such as \over, \choose, etc.

0 commit comments

Comments
 (0)