Avasam

Results 330 issues of Avasam

Add binary files to stubgen blacklisted path. `.so` for Linux and macOS. `.dll` for Windows. Fixes #14028 References: https://github.com/python/typeshed/tree/main/stubs/pywin32 and https://github.com/python/typeshed/tree/main/stubs/tree-sitter-languages/%40tests

topic-stubgen

This format allows editors and terminals that support linking to specific lines in files to go directly to the right line. Before: ![image](https://user-images.githubusercontent.com/1350584/212081816-d99fa8d9-d98b-4c4b-8b3a-02dda4979cb4.png) ![image](https://user-images.githubusercontent.com/1350584/212081929-a1aa8ab3-f730-4c02-9068-b757d4e93c9d.png) After: ![image](https://user-images.githubusercontent.com/1350584/212082039-77b08140-c780-4a45-b0b3-eb3768d8b994.png) ![image](https://user-images.githubusercontent.com/1350584/212082108-c5ae6950-9c69-44ac-b403-61515b9e2ce5.png)

topic-stubtest

## Description Since both projects are under the Microsoft organization, it made sense to open a reminder here. Open a PR to delete https://github.com/microsoft/python-type-stubs/tree/main/lightgbm once a typed version of LightGBM...

feature request

**Describe the solution you'd like** A clear and concise description of what you want to happen. If side-effects cannot be analysed (or are analyzed as "maybe"), could pycln still remove...

enhancement
feature

**Describe the bug** A clear and concise description of what the bug is. There's star imports of C wrapped modules in the codebase. If I tell pycln to not expand...

bug

Added type hint comments and `py.typed` marker as per PEP 561 to allow type-checkers to validate usage of EWMH's API. Type comments allow to keep compatibility with python < 3.5....

``` File "/home/avasam/.local/lib/python3.9/site-packages/ewmh/ewmh.py", line 257, in getClientListStacking return [self._createWindow(w) TypeError: 'NoneType' object is not iterable ``` It seems `self._getProperty('_NET_CLIENT_LIST_STACKING')` returns `None` in a WSLg environment.

### Expected behaviour A link to a working donation platform, or no link at all ### Actual behaviour #940 Added a link to https://www.indiegogo.com/projects/opencv-5-support-non-profit-open-source-cv-ai#/, but the campaign is closed ![image](https://github.com/opencv/opencv-python/assets/1350584/afd82ae2-0129-40b6-85ec-9e3cd471f5c2)...

When trying to use the `map` class in a type stub, I get the following errors: 1. `pytype.pytd.visitors.SymbolLookupError: Couldn't find map in ` `some.module` This can be worked around by...

bug
cat: stubs and 3p

Running mypy on a script that uses pytype results in the following: ``` tests/pytype_test.py:22: error: Skipping analyzing "pytype": module is installed, but missing library stubs or py.typed marker [import] tests/pytype_test.py:23:...

enhancement
cat: infrastructure