Marc Mueller

Results 120 issues of Marc Mueller

This PR bundles a few expression grammar improvements. To review it might help to look at each commit individually. If preferred, I can also split these of into separate PRs....

Ref: https://github.com/python/mypy/issues/18593

Followup to https://github.com/pylint-dev/pylint/pull/10581 Suggest rewriting conditional expressions ```diff -if not isinstance(expr, nodes.Attribute) or expr.attrname != "__init__": ... +if not (isinstance(expr, nodes.Attribute) and expr.attrname == "__init__"): ... ``` I've added the...

Enhancement ✨
Optional Checkers
Needs decision :lock:

### Current problem ```py from dataclasses import dataclass, field @dataclass class Expandable: _api: field() var = [] ``` ### Desired solution Detect invalid or problematic usage in dataclasses. **Some ideas**...

Enhancement ✨
Help wanted 🙏
Checkers
Hacktoberfest
dataclasses
Needs PR

Followup to #5019 and #5024 The current documentation around the `py-version` setting introduced in `2.11` could be improved. * Conflicting default values -> Default is autogenerated from `sys.version_info`. Likely requires...

Enhancement ✨
Help wanted 🙏
Documentation :green_book:
Hacktoberfest
Needs PR

@Fatal1ty Not sure if you're interested. For pylint we use a release workflow which is automatically triggers on a published release. https://github.com/pylint-dev/pylint/blob/main/.github/workflows/release.yml > [!IMPORTANT] > You'll need to > 1....

- Move static metadata to `pyproject.toml` - Adopt PEP 639 license expression https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files - Remove `zip_safe`. It's considered obsolete. - Remove `platforms="any"`. It's basically unused at this point. The better...

This partially fixes pylint-dev/pylint#8425. The additional changes should likely be done in pylint itself. This does impact the test output for pylint a bit as errors on decorators no longer...

Relax the dependency version ranges to allow the install of pandas `3.0` which will be released soonish. The library only uses common functions which are unlikely to break with the...

Over at `setup-python` I noticed that builds didn't get triggered as they should have been. https://github.com/actions/python-versions/pull/350#issuecomment-3191278175 Turns out the trigger Github builds step always aborts as it can't find the...