Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flake8-pyi: fix PYI015 false positive on assignment of TypeVar & friends #3861

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

bluetech
Copy link
Contributor

@bluetech bluetech commented Apr 3, 2023

Fix #3860.

@@ -221,6 +221,23 @@ fn is_valid_default_value_with_annotation(
false
}

pub fn is_type_var_call(checker: &Checker, expr: &Expr) -> bool {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is based on a similar helper in pep8-naming https://github.com/charliermarsh/ruff/blob/924bebbb4a0e1a9002a0274cbb58fc85335089dc/crates/ruff/src/rules/pep8_naming/helpers.rs#L57

I considered factoring it out but decided against it for now, I'm not sure they're exactly the same semantically.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 3, 2023

PR Check Results

Ecosystem

ℹ️ ecosystem check detected changes. (+0, -586, 0 error(s))

airflow (+0, -1)

- airflow/compat/functools.pyi:25:5: PYI015 [*] Only simple default values allowed for assignments

bokeh (+0, -1)

- src/typings/selenium/webdriver/support/wait.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments

typeshed (+0, -584)

- stdlib/_bisect.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_collections_abc.pyi:62:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_collections_abc.pyi:63:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_dummy_threading.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_heapq.pyi:4:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_operator.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_operator.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_operator.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_operator.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_operator.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_operator.pyi:9:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_osx_support.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_osx_support.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_osx_support.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_py_abc.pyi:4:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_py_abc.pyi:6:15: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_typeshed/__init__.pyi:17:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_typeshed/__init__.pyi:18:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_typeshed/__init__.pyi:19:14: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_typeshed/__init__.pyi:20:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_typeshed/__init__.pyi:21:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_typeshed/__init__.pyi:22:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_typeshed/__init__.pyi:23:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_typeshed/__init__.pyi:24:13: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_typeshed/__init__.pyi:28:8: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_typeshed/__init__.pyi:297:19: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_typeshed/__init__.pyi:301:19: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_typeshed/__init__.pyi:31:13: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_typeshed/__init__.pyi:74:27: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_weakref.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_weakref.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_weakrefset.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/_weakrefset.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/abc.pyi:10:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/abc.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/abc.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/abc.pyi:9:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/argparse.pyi:30:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/argparse.pyi:31:12: PYI015 [*] Only simple default values allowed for assignments
- stdlib/argparse.pyi:32:20: PYI015 [*] Only simple default values allowed for assignments
- stdlib/argparse.pyi:33:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/argparse.pyi:48:15: PYI015 [*] Only simple default values allowed for assignments
- stdlib/array.pyi:14:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/ast.pyi:171:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/base_events.pyi:20:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/base_events.pyi:21:14: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/coroutines.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/coroutines.pyi:12:14: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/coroutines.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/events.pyi:57:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/events.pyi:58:14: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/futures.pyi:24:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/locks.pyi:21:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/queues.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/runners.pyi:14:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/taskgroups.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/tasks.pyi:38:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/tasks.pyi:39:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/tasks.pyi:40:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/tasks.pyi:41:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/tasks.pyi:42:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/tasks.pyi:43:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/tasks.pyi:44:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/tasks.pyi:45:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/threads.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/asyncio/threads.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/atexit.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/atexit.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/bdb.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/bdb.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:1595:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:1596:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:1720:14: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:1721:14: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:1725:26: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:2009:26: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:2010:23: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:2011:22: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:2012:19: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:62:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:63:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:64:13: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:65:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:66:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:67:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:68:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:69:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:70:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:71:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:72:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:73:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:74:18: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:75:19: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:76:15: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:77:18: PYI015 [*] Only simple default values allowed for assignments
- stdlib/builtins.pyi:78:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/cProfile.pyi:15:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/cProfile.pyi:16:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/collections/__init__.pyi:29:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/collections/__init__.pyi:30:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/collections/__init__.pyi:31:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/collections/__init__.pyi:32:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/collections/__init__.pyi:33:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/collections/__init__.pyi:34:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/collections/__init__.pyi:35:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/collections/__init__.pyi:36:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/concurrent/futures/_base.pyi:34:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/concurrent/futures/_base.pyi:35:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/concurrent/futures/process.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/concurrent/futures/thread.pyi:19:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/configparser.pyi:36:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextlib.pyi:112:19: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextlib.pyi:121:24: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextlib.pyi:158:11: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextlib.pyi:201:25: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextlib.pyi:31:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextlib.pyi:32:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextlib.pyi:33:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextlib.pyi:34:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextlib.pyi:35:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextlib.pyi:38:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextlib.pyi:79:11: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextvars.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextvars.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/contextvars.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/copy.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/copyreg.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/csv.pyi:61:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/ctypes/__init__.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/ctypes/__init__.pyi:13:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/ctypes/__init__.pyi:141:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/ctypes/__init__.pyi:14:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/curses/__init__.pyi:10:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/curses/__init__.pyi:11:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/curses/ascii.pyi:5:14: PYI015 [*] Only simple default values allowed for assignments
- stdlib/dataclasses.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/dataclasses.pyi:14:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/dataclasses.pyi:34:15: PYI015 [*] Only simple default values allowed for assignments
- stdlib/datetime.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/dbm/gnu.pyi:8:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/dbm/ndbm.pyi:8:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/difflib.pyi:23:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/distutils/dist.pyi:11:13: PYI015 [*] Only simple default values allowed for assignments
- stdlib/email/feedparser.pyi:8:13: PYI015 [*] Only simple default values allowed for assignments
- stdlib/email/message.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/enum.pyi:37:16: PYI015 [*] Only simple default values allowed for assignments
- stdlib/enum.pyi:38:17: PYI015 [*] Only simple default values allowed for assignments
- stdlib/functools.pyi:31:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/functools.pyi:32:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/functools.pyi:33:13: PYI015 [*] Only simple default values allowed for assignments
- stdlib/functools.pyi:34:13: PYI015 [*] Only simple default values allowed for assignments
- stdlib/functools.pyi:35:13: PYI015 [*] Only simple default values allowed for assignments
- stdlib/functools.pyi:36:12: PYI015 [*] Only simple default values allowed for assignments
- stdlib/gettext.pyi:73:22: PYI015 [*] Only simple default values allowed for assignments
- stdlib/graphlib.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/heapq.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/http/client.pyi:34:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/http/cookiejar.pyi:20:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/http/cookies.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/importlib/metadata/_meta.pyi:4:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/importlib/util.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/inspect.pyi:130:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/inspect.pyi:131:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/inspect.pyi:132:11: PYI015 [*] Only simple default values allowed for assignments
- stdlib/inspect.pyi:133:11: PYI015 [*] Only simple default values allowed for assignments
- stdlib/ipaddress.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/ipaddress.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/itertools.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/itertools.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/itertools.pyi:12:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/itertools.pyi:13:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/itertools.pyi:14:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/itertools.pyi:15:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/itertools.pyi:16:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/itertools.pyi:17:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/itertools.pyi:18:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/itertools.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/logging/__init__.pyi:417:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/logging/__init__.pyi:796:12: PYI015 [*] Only simple default values allowed for assignments
- stdlib/mailbox.pyi:34:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/mailbox.pyi:35:13: PYI015 [*] Only simple default values allowed for assignments
- stdlib/math.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/math.pyi:7:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/multiprocessing/context.pyi:25:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/multiprocessing/managers.pyi:24:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/multiprocessing/managers.pyi:25:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/multiprocessing/managers.pyi:26:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/multiprocessing/pool.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/multiprocessing/pool.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/multiprocessing/queues.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/multiprocessing/shared_memory.pyi:11:8: PYI015 [*] Only simple default values allowed for assignments
- stdlib/multiprocessing/sharedctypes.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/multiprocessing/sharedctypes.pyi:13:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/os/__init__.pyi:38:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/os/__init__.pyi:39:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/os/__init__.pyi:40:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/pdb.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/pdb.pyi:14:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/pkgutil.pyi:22:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/profile.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/profile.pyi:14:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/pydoc.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/queue.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/random.pyi:38:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/re.pyi:48:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/secrets.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/shelve.pyi:10:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/shelve.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/shutil.pyi:37:20: PYI015 [*] Only simple default values allowed for assignments
- stdlib/shutil.pyi:38:13: PYI015 [*] Only simple default values allowed for assignments
- stdlib/sqlite3/dbapi2.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/sqlite3/dbapi2.pyi:11:12: PYI015 [*] Only simple default values allowed for assignments
- stdlib/statistics.pyi:32:12: PYI015 [*] Only simple default values allowed for assignments
- stdlib/statistics.pyi:35:14: PYI015 [*] Only simple default values allowed for assignments
- stdlib/subprocess.pyi:78:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/sys.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/threading.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/tkinter/__init__.pyi:239:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/tkinter/__init__.pyi:241:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/trace.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/trace.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/types.pyi:569:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/types.pyi:570:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/types.pyi:571:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/types.pyi:61:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/types.pyi:62:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/types.pyi:63:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/types.pyi:64:13: PYI015 [*] Only simple default values allowed for assignments
- stdlib/types.pyi:65:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/types.pyi:66:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/types.pyi:67:9: PYI015 [*] Only simple default values allowed for assignments
- stdlib/typing.pyi:165:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/typing_extensions.pyi:100:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/typing_extensions.pyi:101:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/typing_extensions.pyi:102:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unicodedata.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/_log.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/async_case.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/async_case.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/case.pyi:19:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/case.pyi:20:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/case.pyi:21:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/case.pyi:22:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/case.pyi:23:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/case.pyi:36:10: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/mock.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/mock.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/mock.pyi:12:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/mock.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/mock.pyi:9:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/result.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/signals.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/signals.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/unittest/util.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/urllib/parse.pyi:144:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/urllib/request.pyi:51:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/warnings.pyi:19:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/weakref.pyi:33:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/weakref.pyi:34:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/weakref.pyi:35:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/weakref.pyi:36:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/weakref.pyi:37:7: PYI015 [*] Only simple default values allowed for assignments
- stdlib/weakref.pyi:38:14: PYI015 [*] Only simple default values allowed for assignments
- stdlib/weakref.pyi:39:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/wsgiref/simple_server.pyi:30:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/xdrlib.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/xml/dom/minicompat.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/xml/dom/minidom.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/xml/etree/ElementPath.pyi:29:6: PYI015 [*] Only simple default values allowed for assignments
- stdlib/xml/etree/ElementTree.pyi:40:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Deprecated/deprecated/classic.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Deprecated/deprecated/sphinx.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/ExifRead/exifread/utils.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Flask-Cors/flask_cors/core.pyi:10:14: PYI015 [*] Only simple default values allowed for assignments
- stubs/Flask-Cors/flask_cors/core.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Flask-Cors/flask_cors/decorator.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Flask-Migrate/flask_migrate/__init__.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Flask-Migrate/flask_migrate/__init__.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Flask-SQLAlchemy/flask_sqlalchemy/__init__.pyi:22:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Markdown/markdown/blockparser.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyAutoGUI/pyautogui/__init__.pyi:21:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyAutoGUI/pyautogui/__init__.pyi:22:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyMySQL/pymysql/connections.pyi:17:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyMySQL/pymysql/connections.pyi:18:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyMySQL/pymysql/converters.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyScreeze/pyscreeze/__init__.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyScreeze/pyscreeze/__init__.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyYAML/yaml/__init__.pyi:26:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyYAML/yaml/__init__.pyi:27:16: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyYAML/yaml/__init__.pyi:28:16: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyYAML/yaml/constructor.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyYAML/yaml/constructor.pyi:14:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyYAML/yaml/emitter.pyi:5:13: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyYAML/yaml/representer.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/PyYAML/yaml/representer.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Pygments/pygments/__init__.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Pygments/pygments/formatter.pyi:3:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Pygments/pygments/formatters/bbcode.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Pygments/pygments/formatters/html.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Pygments/pygments/formatters/img.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Pygments/pygments/formatters/irc.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Pygments/pygments/formatters/latex.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Pygments/pygments/formatters/other.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Pygments/pygments/formatters/pangomarkup.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Pygments/pygments/formatters/rtf.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Pygments/pygments/formatters/svg.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Pygments/pygments/formatters/terminal.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/Pygments/pygments/formatters/terminal256.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/cimmutabledict.pyi:6:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/cimmutabledict.pyi:7:8: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/cimmutabledict.pyi:8:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/cimmutabledict.pyi:9:8: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/engine/base.pyi:21:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/engine/base.pyi:22:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/engine/row.pyi:6:10: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/ext/horizontal_shard.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/log.pyi:6:9: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/orm/attributes.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/orm/decl_api.pyi:11:9: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/orm/decl_api.pyi:12:10: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/orm/descriptor_props.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/orm/dynamic.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/orm/interfaces.pyi:21:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/orm/query.pyi:15:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/orm/relationships.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/orm/session.pyi:15:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/sql/crud.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/sql/elements.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/sql/lambdas.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/sql/operators.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/sql/sqltypes.pyi:16:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/sql/type_api.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/util/_collections.pyi:10:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/util/_collections.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/util/_collections.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/util/_collections.pyi:9:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/SQLAlchemy/sqlalchemy/util/langhelpers.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/aiofiles/aiofiles/base.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/aiofiles/aiofiles/base.pyi:7:9: PYI015 [*] Only simple default values allowed for assignments
- stubs/aiofiles/aiofiles/base.pyi:8:9: PYI015 [*] Only simple default values allowed for assignments
- stubs/aiofiles/aiofiles/base.pyi:9:13: PYI015 [*] Only simple default values allowed for assignments
- stubs/aiofiles/aiofiles/tempfile/__init__.pyi:21:9: PYI015 [*] Only simple default values allowed for assignments
- stubs/aiofiles/aiofiles/tempfile/__init__.pyi:22:9: PYI015 [*] Only simple default values allowed for assignments
- stubs/aiofiles/aiofiles/tempfile/__init__.pyi:23:13: PYI015 [*] Only simple default values allowed for assignments
- stubs/aiofiles/aiofiles/tempfile/temptypes.pyi:15:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/aiofiles/aiofiles/threadpool/utils.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/babel/babel/util.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/beautifulsoup4/bs4/element.pyi:30:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/boto/boto/utils.pyi:16:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/boto/boto/utils.pyi:17:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/cachetools/cachetools/__init__.pyi:10:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/cachetools/cachetools/__init__.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/cachetools/cachetools/__init__.pyi:9:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/cachetools/cachetools/func.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/caldav/caldav/objects.pyi:14:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/cffi/_cffi_backend.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/cffi/cffi/api.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/colorama/colorama/initialise.pyi:6:12: PYI015 [*] Only simple default values allowed for assignments
- stubs/contextvars/contextvars.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/contextvars/contextvars.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/contextvars/contextvars.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/decorator/decorator.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/decorator/decorator.pyi:11:9: PYI015 [*] Only simple default values allowed for assignments
- stubs/decorator/decorator.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/decorator/decorator.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/docutils/docutils/nodes.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/first/first.pyi:4:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/first/first.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/flake8-plugin-utils/flake8_plugin_utils/plugin.pyi:8:11: PYI015 [*] Only simple default values allowed for assignments
- stubs/fpdf2/fpdf/drawing.pyi:14:14: PYI015 [*] Only simple default values allowed for assignments
- stubs/fpdf2/fpdf/encryption.pyi:11:9: PYI015 [*] Only simple default values allowed for assignments
- stubs/fpdf2/fpdf/syntax.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/humanfriendly/humanfriendly/case.pyi:7:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/humanfriendly/humanfriendly/case.pyi:8:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/invoke/invoke/tasks.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/invoke/invoke/tasks.pyi:11:9: PYI015 [*] Only simple default values allowed for assignments
- stubs/invoke/invoke/tasks.pyi:12:10: PYI015 [*] Only simple default values allowed for assignments
- stubs/jmespath/jmespath/functions.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/jsonschema/jsonschema/_format.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/keyboard/keyboard/mouse.pyi:29:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/ldap3/ldap3/utils/asn1.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/ldap3/ldap3/utils/asn1.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/ldap3/ldap3/utils/ciDict.pyi:5:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/ldap3/ldap3/utils/ciDict.pyi:6:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/mock/mock/mock.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/mock/mock/mock.pyi:11:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/mock/mock/mock.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/mock/mock/mock.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/mock/mock/mock.pyi:9:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/mypy-extensions/mypy_extensions.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/mypy-extensions/mypy_extensions.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/openpyxl/openpyxl/utils/bound_dictionary.pyi:4:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/openpyxl/openpyxl/utils/bound_dictionary.pyi:5:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/openpyxl/openpyxl/worksheet/dimensions.pyi:14:9: PYI015 [*] Only simple default values allowed for assignments
- stubs/paho-mqtt/paho/mqtt/client.pyi:100:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/paho-mqtt/paho/mqtt/client.pyi:105:19: PYI015 [*] Only simple default values allowed for assignments
- stubs/paho-mqtt/paho/mqtt/client.pyi:108:18: PYI015 [*] Only simple default values allowed for assignments
- stubs/paho-mqtt/paho/mqtt/client.pyi:96:15: PYI015 [*] Only simple default values allowed for assignments
- stubs/paramiko/paramiko/channel.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/parsimonious/parsimonious/nodes.pyi:32:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/parsimonious/parsimonious/nodes.pyi:33:11: PYI015 [*] Only simple default values allowed for assignments
- stubs/parsimonious/parsimonious/nodes.pyi:44:14: PYI015 [*] Only simple default values allowed for assignments
- stubs/passpy/passpy/util.pyi:4:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/peewee/peewee.pyi:20:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/pika/pika/adapters/twisted_connection.pyi:15:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/pika/pika/compat.pyi:10:10: PYI015 [*] Only simple default values allowed for assignments
- stubs/pika/pika/compat.pyi:9:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/pika/pika/frame.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/polib/polib.pyi:5:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/polib/polib.pyi:6:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/polib/polib.pyi:7:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/compiler/plugin_pb2.pyi:125:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/descriptor_pb2.pyi:1167:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/descriptor_pb2.pyi:252:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/descriptor_pb2.pyi:333:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/descriptor_pb2.pyi:654:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/descriptor_pb2.pyi:916:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/descriptor_pb2.pyi:933:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/internal/containers.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/internal/containers.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/internal/containers.pyi:13:12: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/internal/containers.pyi:14:13: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/internal/containers.pyi:15:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/internal/enum_type_wrapper.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/internal/extension_dict.pyi:8:22: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/internal/extension_dict.pyi:9:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/internal/type_checkers.pyi:3:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/json_format.pyi:6:13: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/message.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/struct_pb2.pyi:52:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/text_format.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/type_pb2.pyi:122:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/type_pb2.pyi:209:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/protobuf/google/protobuf/type_pb2.pyi:53:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/psutil/psutil/_common.pyi:251:9: PYI015 [*] Only simple default values allowed for assignments
- stubs/psycopg2/psycopg2/__init__.pyi:36:11: PYI015 [*] Only simple default values allowed for assignments
- stubs/psycopg2/psycopg2/_psycopg.pyi:359:10: PYI015 [*] Only simple default values allowed for assignments
- stubs/psycopg2/psycopg2/extras.pyi:33:10: PYI015 [*] Only simple default values allowed for assignments
- stubs/pyOpenSSL/OpenSSL/SSL.pyi:180:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/pyasn1/pyasn1/compat/octets.pyi:4:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/pycocotools/pycocotools/coco.pyi:37:9: PYI015 [*] Only simple default values allowed for assignments
- stubs/pyflakes/pyflakes/checker.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/pyflakes/pyflakes/checker.pyi:12:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/pyflakes/pyflakes/checker.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/pyinstaller/PyInstaller/isolated/_parent.pyi:6:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/pyinstaller/PyInstaller/isolated/_parent.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/pyinstaller/PyInstaller/isolated/_parent.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/pynput/pynput/_util.pyi:10:23: PYI015 [*] Only simple default values allowed for assignments
- stubs/pynput/pynput/_util.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/pynput/pynput/_util.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/python-dateutil/dateutil/relativedelta.pyi:8:10: PYI015 [*] Only simple default values allowed for assignments
- stubs/python-dateutil/dateutil/tz/tz.pyi:9:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/python-nmap/nmap/nmap.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/python-xlib/Xlib/_typing.pyi:8:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/python-xlib/Xlib/ext/record.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/python-xlib/Xlib/ext/record.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/python-xlib/Xlib/ext/xinput.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/python-xlib/Xlib/protocol/display.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/python-xlib/Xlib/protocol/rq.pyi:16:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/python-xlib/Xlib/rdb.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/python-xlib/Xlib/rdb.pyi:11:13: PYI015 [*] Only simple default values allowed for assignments
- stubs/pywin32/win32/win32gui.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/pywin32/win32com/client/dynamic.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/pywin32/win32com/client/dynamic.pyi:9:9: PYI015 [*] Only simple default values allowed for assignments
- stubs/redis/redis/asyncio/retry.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/redis/redis/client.pyi:23:12: PYI015 [*] Only simple default values allowed for assignments
- stubs/redis/redis/client.pyi:25:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/redis/redis/client.pyi:26:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/redis/redis/client.pyi:74:13: PYI015 [*] Only simple default values allowed for assignments
- stubs/redis/redis/commands/core.pyi:12:24: PYI015 [*] Only simple default values allowed for assignments
- stubs/redis/redis/commands/core.pyi:13:12: PYI015 [*] Only simple default values allowed for assignments
- stubs/redis/redis/retry.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/redis/redis/sentinel.pyi:10:11: PYI015 [*] Only simple default values allowed for assignments
- stubs/redis/redis/typing.pyi:28:11: PYI015 [*] Only simple default values allowed for assignments
- stubs/redis/redis/typing.pyi:29:13: PYI015 [*] Only simple default values allowed for assignments
- stubs/redis/redis/typing.pyi:30:15: PYI015 [*] Only simple default values allowed for assignments
- stubs/redis/redis/utils.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/regex/regex/regex.pyi:13:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/requests/requests/structures.pyi:4:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/requests/requests/structures.pyi:5:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/retry/retry/api.pyi:6:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/setuptools/pkg_resources/__init__.pyi:14:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/setuptools/pkg_resources/__init__.pyi:15:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/setuptools/setuptools/_distutils/dist.pyi:12:13: PYI015 [*] Only simple default values allowed for assignments
- stubs/setuptools/setuptools/command/test.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/singledispatch/singledispatch.pyi:4:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/singledispatch/singledispatch.pyi:5:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/six/six/__init__.pyi:23:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/six/six/__init__.pyi:24:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/six/six/__init__.pyi:25:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/slumber/slumber/utils.pyi:4:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/slumber/slumber/utils.pyi:5:10: PYI015 [*] Only simple default values allowed for assignments
- stubs/slumber/slumber/utils.pyi:6:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/stripe/stripe/api_resources/search_result_object.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/__init__.pyi:263:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/__init__.pyi:264:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/_aliases.pyi:11:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/service/hlo_pb2.pyi:1076:25: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/service/hlo_pb2.pyi:148:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/service/hlo_pb2.pyi:35:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/service/hlo_pb2.pyi:52:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/service/hlo_pb2.pyi:803:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi:1307:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi:1415:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi:1573:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi:161:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi:194:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi:214:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi:232:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi:250:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi:271:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi:298:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi:327:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi:36:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi:848:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/framework/api_def_pb2.pyi:47:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/framework/dataset_options_pb2.pyi:132:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/framework/dataset_options_pb2.pyi:21:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/framework/dataset_options_pb2.pyi:73:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/framework/full_type_pb2.pyi:22:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/framework/graph_transfer_info_pb2.pyi:193:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/framework/model_pb2.pyi:22:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/framework/model_pb2.pyi:48:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/framework/summary_pb2.pyi:27:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/framework/types_pb2.pyi:20:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/framework/variable_pb2.pyi:22:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/framework/variable_pb2.pyi:70:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/config_pb2.pyi:1083:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/config_pb2.pyi:345:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/config_pb2.pyi:372:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/config_pb2.pyi:683:25: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/core_platform_payloads_pb2.pyi:29:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/data_service_pb2.pyi:160:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/data_service_pb2.pyi:20:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/data_service_pb2.pyi:56:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/debug_event_pb2.pyi:24:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/rewriter_config_pb2.pyi:115:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/rewriter_config_pb2.pyi:132:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/rewriter_config_pb2.pyi:151:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/rewriter_config_pb2.pyi:67:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/saved_object_graph_pb2.pyi:472:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/saver_pb2.pyi:26:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/struct_pb2.pyi:331:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/tensor_bundle_pb2.pyi:41:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/tpu/compilation_result_pb2.pyi:33:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/tpu/optimization_parameters_pb2.pyi:735:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/tpu/optimization_parameters_pb2.pyi:802:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/tpu/optimization_parameters_pb2.pyi:843:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/tpu/topology_pb2.pyi:28:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/tpu/tpu_embedding_configuration_pb2.pyi:27:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/tpu/tpu_embedding_configuration_pb2.pyi:48:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/protobuf/verifier_config_pb2.pyi:26:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/util/event_pb2.pyi:148:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/util/event_pb2.pyi:199:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/util/event_pb2.pyi:23:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/util/event_pb2.pyi:51:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/core/util/test_log_pb2.pyi:483:21: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/keras/layers.pyi:14:11: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/keras/layers.pyi:15:12: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/math.pyi:9:22: PYI015 [*] Only simple default values allowed for assignments
- stubs/tensorflow/tensorflow/tsl/protobuf/error_codes_pb2.pyi:21:17: PYI015 [*] Only simple default values allowed for assignments
- stubs/toml/toml/decoder.pyi:8:20: PYI015 [*] Only simple default values allowed for assignments
- stubs/toml/toml/encoder.pyi:5:13: PYI015 [*] Only simple default values allowed for assignments
- stubs/toposort/toposort.pyi:5:10: PYI015 [*] Only simple default values allowed for assignments
- stubs/toposort/toposort.pyi:6:10: PYI015 [*] Only simple default values allowed for assignments
- stubs/toposort/toposort.pyi:7:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/asyncio.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/contrib/discord.pyi:16:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/contrib/logging.pyi:9:10: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/contrib/slack.pyi:17:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/contrib/telegram.pyi:22:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/contrib/utils_worker.pyi:10:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/contrib/utils_worker.pyi:11:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/gui.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/notebook.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/rich.pyi:34:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/std.pyi:32:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/tk.pyi:9:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/utils.pyi:42:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/tqdm/tqdm/utils.pyi:43:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/urllib3/urllib3/_collections.pyi:5:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/urllib3/urllib3/_collections.pyi:6:7: PYI015 [*] Only simple default values allowed for assignments
- stubs/vobject/vobject/base.pyi:16:6: PYI015 [*] Only simple default values allowed for assignments
- stubs/vobject/vobject/base.pyi:17:6: PYI015 [*] Only simple default values allowed for assignments

Benchmark

Linux

group                                      main                                   pr
-----                                      ----                                   --
linter/all-rules/large/dataset.py          1.00     12.6±0.07ms     3.2 MB/sec    1.12     14.1±0.01ms     2.9 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.02      3.6±0.08ms     4.6 MB/sec    1.00      3.6±0.00ms     4.7 MB/sec
linter/all-rules/numpy/globals.py          1.00    452.9±0.97µs     6.5 MB/sec    1.01    456.3±1.38µs     6.5 MB/sec
linter/all-rules/pydantic/types.py         1.06      6.4±0.09ms     4.0 MB/sec    1.00      6.0±0.01ms     4.2 MB/sec
linter/default-rules/large/dataset.py      1.00      7.2±0.02ms     5.6 MB/sec    1.00      7.2±0.02ms     5.6 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00   1632.9±1.09µs    10.2 MB/sec    1.00   1639.1±4.00µs    10.2 MB/sec
linter/default-rules/numpy/globals.py      1.00    179.9±0.39µs    16.4 MB/sec    1.02    183.0±0.72µs    16.1 MB/sec
linter/default-rules/pydantic/types.py     1.00      3.3±0.00ms     7.7 MB/sec    1.00      3.3±0.01ms     7.6 MB/sec

Windows

group                                      main                                   pr
-----                                      ----                                   --
linter/all-rules/large/dataset.py          1.00     14.5±0.07ms     2.8 MB/sec    1.01     14.6±0.06ms     2.8 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      3.4±0.02ms     4.9 MB/sec    1.00      3.4±0.02ms     4.9 MB/sec
linter/all-rules/numpy/globals.py          1.00    377.3±4.46µs     7.8 MB/sec    1.01    380.7±3.45µs     7.8 MB/sec
linter/all-rules/pydantic/types.py         1.00      5.9±0.03ms     4.3 MB/sec    1.00      5.9±0.03ms     4.3 MB/sec
linter/default-rules/large/dataset.py      1.00      7.5±0.04ms     5.4 MB/sec    1.01      7.6±0.04ms     5.4 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00   1522.1±8.78µs    10.9 MB/sec    1.01   1537.6±7.27µs    10.8 MB/sec
linter/default-rules/numpy/globals.py      1.00    161.5±1.42µs    18.3 MB/sec    1.01    163.3±1.53µs    18.1 MB/sec
linter/default-rules/pydantic/types.py     1.00      3.3±0.01ms     7.8 MB/sec    1.00      3.3±0.03ms     7.8 MB/sec

@twoertwein
Copy link

twoertwein commented Apr 3, 2023

I like the typeshed diff :) Should ParamSpec also be whitelisted (not sure how flake8-pyi handles that)?

edit: already covered by your PR :)

Copy link
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we might be deviating from flake8-pyi in the case of non-annotated assignments. They seem to allow most values when assigning to a variable without a type annotation:

def _is_valid_default_value_without_annotation(node: ast.expr) -> bool:
    """Is `node` a valid default for an assignment without an annotation?"""
    return (
        isinstance(
            node, (ast.Call, ast.Name, ast.Attribute, ast.Subscript, ast.Ellipsis)
        )
        or _is_None(node)
        or _is_valid_pep_604_union(node)
    )

I think we should have the same behavior -- what do you think?

@charliermarsh charliermarsh merged commit d2f2544 into astral-sh:main Apr 3, 2023
@charliermarsh
Copy link
Member

Merging as this looks like a good change to me but I think the question still stands RE untyped assignments.

@bluetech
Copy link
Contributor Author

bluetech commented Apr 3, 2023

I think we should have the same behavior -- what do you think?

In practice this lint forced me to add TypeAlias to a bunch of unannotated assignments, and the rest were TypeVar-like things which are covered by this PR. So it was good. Not sure if there are other reasons to assign without annotation. I guess we can check this lint on typeshed to find out (I assume typeshed is flake8-pyi clean). Will do it when I get a chance.

cc @JonathanPlasse who implemented PYI015 in ruff.

@bluetech bluetech deleted the flake8-pyi-typevar-assign branch April 3, 2023 15:52
@AlexWaygood
Copy link
Member

I assume typeshed is flake8-pyi clean

Indeed it is!


@charliermarsh is correct that we handle this pretty differently in flake8-pyi. We use Y026 to enforce that anything that looks like a type alias assignment is explicitly annotated using TypeAlias, and Y052 to enforce type annotations for all assignments to literals. With those invariants out of the way, that means that we basically don't have to worry about whether the remaining assignments without type annotations have "valid default values" or not (because there's a surprising number of calls etc. that are valid in stubs, and it doesn't really feel like it would provide much value to work out a comprehensive list), and so Y011/Y014/Y015 only really worry about the validity of default values for assignments that have type annotations.

bruxisma referenced this pull request in ixm-one/pytest-cmake-presets Apr 5, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://togithub.com/charliermarsh/ruff) | `^0.0.260` ->
`^0.0.261` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.261/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.261/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.261/compatibility-slim/0.0.260)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.261/confidence-slim/0.0.260)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charliermarsh/ruff</summary>

###
[`v0.0.261`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.261)

[Compare
Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.260...v0.0.261)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Rules

- \[`flake8-simplify`] Ignore `collapsible-if` violations for `if
False:` and `if True:` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[https://github.com/charliermarsh/ruff/pull/3732](https://togithub.com/charliermarsh/ruff/pull/3732)
- \[`flake8-pie`] Extend `unncessary-generator-any-all` to set
comprehensions by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3824](https://togithub.com/charliermarsh/ruff/pull/3824)
- \[`flake8-simplify`] Implement `dict-get-with-none-default` (`SIM910`)
by [@&#8203;kyoto7250](https://togithub.com/kyoto7250) in
[https://github.com/charliermarsh/ruff/pull/3874](https://togithub.com/charliermarsh/ruff/pull/3874)
- \[`flake8-annotations`] Additional simple magic return types by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/charliermarsh/ruff/pull/3805](https://togithub.com/charliermarsh/ruff/pull/3805)
- \[`flake8-pyi`]: fix PYI015 false positive on assignment of TypeVar &
friends by [@&#8203;bluetech](https://togithub.com/bluetech) in
[https://github.com/charliermarsh/ruff/pull/3861](https://togithub.com/charliermarsh/ruff/pull/3861)

##### Bug Fixes

- Improve robustness of argument removal for `encode` calls by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3802](https://togithub.com/charliermarsh/ruff/pull/3802)
- Fix SIM222 and SIM223 false positive by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[https://github.com/charliermarsh/ruff/pull/3832](https://togithub.com/charliermarsh/ruff/pull/3832)
- When checking module visibility, don't check entire ancestry by
[@&#8203;Hnasar](https://togithub.com/Hnasar) in
[https://github.com/charliermarsh/ruff/pull/3835](https://togithub.com/charliermarsh/ruff/pull/3835)
- Improve top-of-file insertions for required imports by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3779](https://togithub.com/charliermarsh/ruff/pull/3779)
- Use multi-fix semantics for `inplace` removal by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3804](https://togithub.com/charliermarsh/ruff/pull/3804)
- Flag non-`Name` expressions in `duplicate-isinstance-call` by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3817](https://togithub.com/charliermarsh/ruff/pull/3817)
- Avoid `unnecessary-comprehension-any-all` for async generators by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3823](https://togithub.com/charliermarsh/ruff/pull/3823)
- Fix `is_module_name()` and improve perf of `is_identifier()` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[https://github.com/charliermarsh/ruff/pull/3795](https://togithub.com/charliermarsh/ruff/pull/3795)
- Allow starred arguments in B030 by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3871](https://togithub.com/charliermarsh/ruff/pull/3871)
- Support mutually exclusive branches for `B031` by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/charliermarsh/ruff/pull/3844](https://togithub.com/charliermarsh/ruff/pull/3844)
- Consider logger candidate from `logging` module only by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/charliermarsh/ruff/pull/3878](https://togithub.com/charliermarsh/ruff/pull/3878)

##### Core

- Add import insertion support to autofix capabilities by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3787](https://togithub.com/charliermarsh/ruff/pull/3787)
- Generate `ImportMap` from module path to imported dependencies by
[@&#8203;chanman3388](https://togithub.com/chanman3388) in
[https://github.com/charliermarsh/ruff/pull/3243](https://togithub.com/charliermarsh/ruff/pull/3243)

##### Docs

- Add documentation for `ruff-action` (GitHub Action!) by
[@&#8203;brucearctor](https://togithub.com/brucearctor) in
[https://github.com/charliermarsh/ruff/pull/3857](https://togithub.com/charliermarsh/ruff/pull/3857)

#### New Contributors

- [@&#8203;AetherUnbound](https://togithub.com/AetherUnbound) made their
first contribution in
[https://github.com/charliermarsh/ruff/pull/3806](https://togithub.com/charliermarsh/ruff/pull/3806)
- [@&#8203;Hnasar](https://togithub.com/Hnasar) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/3835](https://togithub.com/charliermarsh/ruff/pull/3835)
- [@&#8203;nvuillam](https://togithub.com/nvuillam) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/3848](https://togithub.com/charliermarsh/ruff/pull/3848)
- [@&#8203;brucearctor](https://togithub.com/brucearctor) made their
first contribution in
[https://github.com/charliermarsh/ruff/pull/3857](https://togithub.com/charliermarsh/ruff/pull/3857)

**Full Changelog**:
astral-sh/ruff@v0.0.260...v0.0.261

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/ixm-one/pytest-cmake-presets).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4zMi4yIiwidXBkYXRlZEluVmVyIjoiMzUuMzIuMiJ9-->

Signed-off-by: Renovate Bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in allenporter/pyrainbird Apr 7, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://togithub.com/charliermarsh/ruff) | `==0.0.260` ->
`==0.0.261` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.261/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.261/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.261/compatibility-slim/0.0.260)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.261/confidence-slim/0.0.260)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charliermarsh/ruff</summary>

###
[`v0.0.261`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.261)

[Compare
Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.260...v0.0.261)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Rules

- \[`flake8-simplify`] Ignore `collapsible-if` violations for `if
False:` and `if True:` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[https://github.com/charliermarsh/ruff/pull/3732](https://togithub.com/charliermarsh/ruff/pull/3732)
- \[`flake8-pie`] Extend `unncessary-generator-any-all` to set
comprehensions by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3824](https://togithub.com/charliermarsh/ruff/pull/3824)
- \[`flake8-simplify`] Implement `dict-get-with-none-default` (`SIM910`)
by [@&#8203;kyoto7250](https://togithub.com/kyoto7250) in
[https://github.com/charliermarsh/ruff/pull/3874](https://togithub.com/charliermarsh/ruff/pull/3874)
- \[`flake8-annotations`] Additional simple magic return types by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/charliermarsh/ruff/pull/3805](https://togithub.com/charliermarsh/ruff/pull/3805)
- \[`flake8-pyi`]: fix PYI015 false positive on assignment of TypeVar &
friends by [@&#8203;bluetech](https://togithub.com/bluetech) in
[https://github.com/charliermarsh/ruff/pull/3861](https://togithub.com/charliermarsh/ruff/pull/3861)

##### Bug Fixes

- Improve robustness of argument removal for `encode` calls by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3802](https://togithub.com/charliermarsh/ruff/pull/3802)
- Fix SIM222 and SIM223 false positive by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[https://github.com/charliermarsh/ruff/pull/3832](https://togithub.com/charliermarsh/ruff/pull/3832)
- When checking module visibility, don't check entire ancestry by
[@&#8203;Hnasar](https://togithub.com/Hnasar) in
[https://github.com/charliermarsh/ruff/pull/3835](https://togithub.com/charliermarsh/ruff/pull/3835)
- Improve top-of-file insertions for required imports by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3779](https://togithub.com/charliermarsh/ruff/pull/3779)
- Use multi-fix semantics for `inplace` removal by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3804](https://togithub.com/charliermarsh/ruff/pull/3804)
- Flag non-`Name` expressions in `duplicate-isinstance-call` by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3817](https://togithub.com/charliermarsh/ruff/pull/3817)
- Avoid `unnecessary-comprehension-any-all` for async generators by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3823](https://togithub.com/charliermarsh/ruff/pull/3823)
- Fix `is_module_name()` and improve perf of `is_identifier()` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[https://github.com/charliermarsh/ruff/pull/3795](https://togithub.com/charliermarsh/ruff/pull/3795)
- Allow starred arguments in B030 by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3871](https://togithub.com/charliermarsh/ruff/pull/3871)
- Support mutually exclusive branches for `B031` by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/charliermarsh/ruff/pull/3844](https://togithub.com/charliermarsh/ruff/pull/3844)
- Consider logger candidate from `logging` module only by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/charliermarsh/ruff/pull/3878](https://togithub.com/charliermarsh/ruff/pull/3878)

##### Core

- Add import insertion support to autofix capabilities by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3787](https://togithub.com/charliermarsh/ruff/pull/3787)
- Generate `ImportMap` from module path to imported dependencies by
[@&#8203;chanman3388](https://togithub.com/chanman3388) in
[https://github.com/charliermarsh/ruff/pull/3243](https://togithub.com/charliermarsh/ruff/pull/3243)

##### Docs

- Add documentation for `ruff-action` (GitHub Action!) by
[@&#8203;brucearctor](https://togithub.com/brucearctor) in
[https://github.com/charliermarsh/ruff/pull/3857](https://togithub.com/charliermarsh/ruff/pull/3857)

#### New Contributors

- [@&#8203;AetherUnbound](https://togithub.com/AetherUnbound) made their
first contribution in
[https://github.com/charliermarsh/ruff/pull/3806](https://togithub.com/charliermarsh/ruff/pull/3806)
- [@&#8203;Hnasar](https://togithub.com/Hnasar) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/3835](https://togithub.com/charliermarsh/ruff/pull/3835)
- [@&#8203;nvuillam](https://togithub.com/nvuillam) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/3848](https://togithub.com/charliermarsh/ruff/pull/3848)
- [@&#8203;brucearctor](https://togithub.com/brucearctor) made their
first contribution in
[https://github.com/charliermarsh/ruff/pull/3857](https://togithub.com/charliermarsh/ruff/pull/3857)

**Full Changelog**:
astral-sh/ruff@v0.0.260...v0.0.261

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/allenporter/pyrainbird).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4zNC4xIiwidXBkYXRlZEluVmVyIjoiMzUuMzQuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in allenporter/flux-local Apr 7, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://togithub.com/charliermarsh/ruff) | `==0.0.260` ->
`==0.0.261` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.261/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.261/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.261/compatibility-slim/0.0.260)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.261/confidence-slim/0.0.260)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charliermarsh/ruff</summary>

###
[`v0.0.261`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.261)

[Compare
Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.260...v0.0.261)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Rules

- \[`flake8-simplify`] Ignore `collapsible-if` violations for `if
False:` and `if True:` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[https://github.com/charliermarsh/ruff/pull/3732](https://togithub.com/charliermarsh/ruff/pull/3732)
- \[`flake8-pie`] Extend `unncessary-generator-any-all` to set
comprehensions by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3824](https://togithub.com/charliermarsh/ruff/pull/3824)
- \[`flake8-simplify`] Implement `dict-get-with-none-default` (`SIM910`)
by [@&#8203;kyoto7250](https://togithub.com/kyoto7250) in
[https://github.com/charliermarsh/ruff/pull/3874](https://togithub.com/charliermarsh/ruff/pull/3874)
- \[`flake8-annotations`] Additional simple magic return types by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/charliermarsh/ruff/pull/3805](https://togithub.com/charliermarsh/ruff/pull/3805)
- \[`flake8-pyi`]: fix PYI015 false positive on assignment of TypeVar &
friends by [@&#8203;bluetech](https://togithub.com/bluetech) in
[https://github.com/charliermarsh/ruff/pull/3861](https://togithub.com/charliermarsh/ruff/pull/3861)

##### Bug Fixes

- Improve robustness of argument removal for `encode` calls by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3802](https://togithub.com/charliermarsh/ruff/pull/3802)
- Fix SIM222 and SIM223 false positive by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[https://github.com/charliermarsh/ruff/pull/3832](https://togithub.com/charliermarsh/ruff/pull/3832)
- When checking module visibility, don't check entire ancestry by
[@&#8203;Hnasar](https://togithub.com/Hnasar) in
[https://github.com/charliermarsh/ruff/pull/3835](https://togithub.com/charliermarsh/ruff/pull/3835)
- Improve top-of-file insertions for required imports by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3779](https://togithub.com/charliermarsh/ruff/pull/3779)
- Use multi-fix semantics for `inplace` removal by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3804](https://togithub.com/charliermarsh/ruff/pull/3804)
- Flag non-`Name` expressions in `duplicate-isinstance-call` by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3817](https://togithub.com/charliermarsh/ruff/pull/3817)
- Avoid `unnecessary-comprehension-any-all` for async generators by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3823](https://togithub.com/charliermarsh/ruff/pull/3823)
- Fix `is_module_name()` and improve perf of `is_identifier()` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[https://github.com/charliermarsh/ruff/pull/3795](https://togithub.com/charliermarsh/ruff/pull/3795)
- Allow starred arguments in B030 by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3871](https://togithub.com/charliermarsh/ruff/pull/3871)
- Support mutually exclusive branches for `B031` by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/charliermarsh/ruff/pull/3844](https://togithub.com/charliermarsh/ruff/pull/3844)
- Consider logger candidate from `logging` module only by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/charliermarsh/ruff/pull/3878](https://togithub.com/charliermarsh/ruff/pull/3878)

##### Core

- Add import insertion support to autofix capabilities by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3787](https://togithub.com/charliermarsh/ruff/pull/3787)
- Generate `ImportMap` from module path to imported dependencies by
[@&#8203;chanman3388](https://togithub.com/chanman3388) in
[https://github.com/charliermarsh/ruff/pull/3243](https://togithub.com/charliermarsh/ruff/pull/3243)

##### Docs

- Add documentation for `ruff-action` (GitHub Action!) by
[@&#8203;brucearctor](https://togithub.com/brucearctor) in
[https://github.com/charliermarsh/ruff/pull/3857](https://togithub.com/charliermarsh/ruff/pull/3857)

#### New Contributors

- [@&#8203;AetherUnbound](https://togithub.com/AetherUnbound) made their
first contribution in
[https://github.com/charliermarsh/ruff/pull/3806](https://togithub.com/charliermarsh/ruff/pull/3806)
- [@&#8203;Hnasar](https://togithub.com/Hnasar) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/3835](https://togithub.com/charliermarsh/ruff/pull/3835)
- [@&#8203;nvuillam](https://togithub.com/nvuillam) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/3848](https://togithub.com/charliermarsh/ruff/pull/3848)
- [@&#8203;brucearctor](https://togithub.com/brucearctor) made their
first contribution in
[https://github.com/charliermarsh/ruff/pull/3857](https://togithub.com/charliermarsh/ruff/pull/3857)

**Full Changelog**:
astral-sh/ruff@v0.0.260...v0.0.261

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/allenporter/flux-local).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4zNC4xIiwidXBkYXRlZEluVmVyIjoiMzUuMzQuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flake8-pyi: PYI015 false positive on TypeVar assignment
4 participants