File: 0003-Adjust-coverage-and-mypy-config-for-the-new-module-f.patch

package info (click to toggle)
pydoctor 22.9.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,976 kB
  • sloc: python: 22,250; javascript: 2,533; ansic: 57; makefile: 21; sh: 18
file content (36 lines) | stat: -rw-r--r-- 885 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: tristanlatr <tristanlatr@users.noreply.github.com>
Date: Mon, 28 Nov 2022 17:19:26 -0500
Subject: Adjust coverage and mypy config for the new module from the standard
 library.

---
 .coveragerc | 1 +
 mypy.ini    | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/.coveragerc b/.coveragerc
index fd1f020..385b9ea 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -4,6 +4,7 @@ omit =
     pydoctor/sphinx_ext/*
     pydoctor/test/*
     pydoctor/epydoc/sre_parse36.py
+    pydoctor/epydoc/sre_constants36.py
 source =
     pydoctor
 
diff --git a/mypy.ini b/mypy.ini
index b3991e2..854f7a6 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -54,6 +54,9 @@ ignore_missing_imports=True
 [mypy-pydoctor.epydoc.sre_parse36]
 ignore_errors=True
 
+[mypy-pydoctor.epydoc.sre_constants36]
+ignore_errors=True
+
 # Don't check the C3 lineartization code
 [mypy-pydoctor.mro.*]
 ignore_errors=True