[med-svn] [Git][python-team/packages/mypy][master] 5 commits: New upstream version 1.10.0

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Tue Jun 25 02:18:53 BST 2024



Michael R. Crusoe pushed to branch master at Debian Python Team / packages / mypy


Commits:
d8289f16 by Michael R. Crusoe at 2024-04-24T17:06:58+03:00
New upstream version 1.10.0
- - - - -
75b9a62d by Michael R. Crusoe at 2024-06-25T03:15:47+02:00
routine-update: New upstream version

- - - - -
6534d9db by Michael R. Crusoe at 2024-06-25T03:15:48+02:00
New upstream version 1.10.1
- - - - -
d631955a by Michael R. Crusoe at 2024-06-25T03:15:59+02:00
Update upstream source from tag 'upstream/1.10.1'

Update to upstream version '1.10.1'
with Debian dir da8670c6b3210e0ac1d34a4685f41ee81787ab1b
- - - - -
43a4053f by Michael R. Crusoe at 2024-06-25T03:16:18+02:00
routine-update: Ready to upload to unstable

- - - - -


7 changed files:

- PKG-INFO
- debian/changelog
- mypy.egg-info/PKG-INFO
- mypy/build.py
- mypy/errors.py
- mypy/version.py
- test-data/unit/check-incremental.test


Changes:

=====================================
PKG-INFO
=====================================
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: mypy
-Version: 1.10.0
+Version: 1.10.1
 Summary: Optional static typing for Python
 Home-page: https://www.mypy-lang.org/
 Author: Jukka Lehtosalo


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+mypy (1.10.1-1) unstable; urgency=medium
+
+  * New upstream version
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Tue, 25 Jun 2024 03:16:18 +0200
+
 mypy (1.10.0-1) unstable; urgency=medium
 
   * New upstream version


=====================================
mypy.egg-info/PKG-INFO
=====================================
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: mypy
-Version: 1.10.0
+Version: 1.10.1
 Summary: Optional static typing for Python
 Home-page: https://www.mypy-lang.org/
 Author: Jukka Lehtosalo


=====================================
mypy/build.py
=====================================
@@ -3459,11 +3459,12 @@ def process_stale_scc(graph: Graph, scc: list[str], manager: BuildManager) -> No
         for id in stale:
             graph[id].transitive_error = True
     for id in stale:
-        manager.flush_errors(
-            manager.errors.simplify_path(graph[id].xpath),
-            manager.errors.file_messages(graph[id].xpath),
-            False,
-        )
+        if graph[id].xpath not in manager.errors.ignored_files:
+            manager.flush_errors(
+                manager.errors.simplify_path(graph[id].xpath),
+                manager.errors.file_messages(graph[id].xpath),
+                False,
+            )
         graph[id].write_cache()
         graph[id].mark_as_rechecked()
 


=====================================
mypy/errors.py
=====================================
@@ -802,7 +802,7 @@ class Errors:
 
     def is_errors_for_file(self, file: str) -> bool:
         """Are there any errors for the given file?"""
-        return file in self.error_info_map
+        return file in self.error_info_map and file not in self.ignored_files
 
     def prefer_simple_messages(self) -> bool:
         """Should we generate simple/fast error messages?


=====================================
mypy/version.py
=====================================
@@ -8,7 +8,7 @@ from mypy import git
 # - Release versions have the form "1.2.3".
 # - Dev versions have the form "1.2.3+dev" (PLUS sign to conform to PEP 440).
 # - Before 1.0 we had the form "0.NNN".
-__version__ = "1.10.0"
+__version__ = "1.10.1"
 base_version = __version__
 
 mypy_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))


=====================================
test-data/unit/check-incremental.test
=====================================
@@ -1833,6 +1833,21 @@ main:3: note: Revealed type is "builtins.int"
 main:3: note: Revealed type is "Any"
 
 
+[case testIncrementalIgnoreErrors]
+# flags: --config-file tmp/mypy.ini
+import a
+[file a.py]
+import module_that_will_be_deleted
+[file module_that_will_be_deleted.py]
+
+[file mypy.ini]
+\[mypy]
+\[mypy-a]
+ignore_errors = True
+[delete module_that_will_be_deleted.py.2]
+[out1]
+[out2]
+
 [case testIncrementalNamedTupleInMethod]
 from ntcrash import nope
 [file ntcrash.py]



View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/cd66531d3d1cbc23bba820b4a233664b341f0f2b...43a4053ff661f93b6e09bf0d490945d69dd7b96f

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/compare/cd66531d3d1cbc23bba820b4a233664b341f0f2b...43a4053ff661f93b6e09bf0d490945d69dd7b96f
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240625/ec221f0f/attachment-0001.htm>


More information about the debian-med-commit mailing list