-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path__init__.pyi
More file actions
37 lines (29 loc) · 923 Bytes
/
__init__.pyi
File metadata and controls
37 lines (29 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
"""
This type stub file was generated by pyright.
"""
import logging
"""Top-level module for Flake8.
This module
- initializes logging for the command-line tool
- tracks the version of the package
- provides a way to configure logging for the command-line tool
.. autofunction:: flake8.configure_logging
"""
LOG: logging.Logger = ...
__version__: str = ...
__version_info__: tuple[int, ...] = ...
_VERBOSITY_TO_LOG_LEVEL: dict[int, int] = ...
LOG_FORMAT: str = ...
def configure_logging(
verbosity: int, filename: str | None = ..., logformat: str = ...
) -> None:
"""Configure logging for flake8.
:param verbosity:
How verbose to be in logging information.
:param filename:
Name of the file to append log information to.
If ``None`` this will log to ``sys.stderr``.
If the name is "stdout" or "stderr" this will log to the appropriate
stream.
"""
...