Skip to content

Different fixes relatated to mypy#1817

Merged
tamarinvs19 merged 2 commits intomainfrom
mypy_fixes
Feb 22, 2023
Merged

Different fixes relatated to mypy#1817
tamarinvs19 merged 2 commits intomainfrom
mypy_fixes

Conversation

@tochilinak
Copy link
Member

Description

Fixes #1815, #1799, #1798.

#1799: looks like that was a problem in mypy. Updated mypy (0.971 -> 1.0.0). Another problem: no tests were generated, when function had no arguments. Also fixed.

#1798: This issue appears only in Windows and has something to do with location of mypy cache directory. Fix: set cache directory manually.

#1815: Turned on UTF-8 mode (with Python CLI argument -X utf8).

How to test

Manual tests

Checked plugin on Linux and Windows.

Self-check list

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@tochilinak tochilinak added comp-fuzzing Issue is related to the fuzzing lang-python Issue is related to python support ctg-bug-fix PR is fixing a bug labels Feb 17, 2023
@tochilinak tochilinak self-assigned this Feb 17, 2023
@tamarinvs19 tamarinvs19 enabled auto-merge (squash) February 22, 2023 07:25
@tamarinvs19 tamarinvs19 merged commit 59e41af into main Feb 22, 2023
@tamarinvs19 tamarinvs19 deleted the mypy_fixes branch February 22, 2023 07:32
sofurihafe pushed a commit that referenced this pull request Feb 27, 2023
Co-authored-by: Vyacheslav Tamarin <slavabarsuk@ya.ru>
@alisevych alisevych added this to the 2023.03 Release milestone Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-fuzzing Issue is related to the fuzzing ctg-bug-fix PR is fixing a bug lang-python Issue is related to python support

Projects

None yet

3 participants