Mark Byrne

Results 61 comments of Mark Byrne

Hey @Pierre-Sassoulas. The crash in this case won't be fixed by #7228 since this has a different argument [type](https://github.com/PyCQA/pylint/blob/main/pylint/config/argument.py#L134). Would you prefer if I update the existing MR to handle...

But its ok to validate each individual regex in the csv using the new function [here](https://github.com/PyCQA/pylint/pull/7228/files#diff-9c59ebc09daac00e7f077e099aa4edbe3d8e5c5ec118ba0ffb2c398e8a059673R102), right @DanielNoord? If that is ok then I can either update the existing MR...

I think it makes sense to remove it in Pylint 3.0 if 1. we want to remove it & 2. the concern for removing it is that it is a...

Updated #7228 to handle the crash in this issue; although nothing is in place to avoid splitting in the middle of the regex itself.

I wasn't able to reproduce this on a couple of different versions, for example the latest: ```python pylint 2.15.0-dev0 astroid 2.12.2 Python 3.10.4 (v3.10.4:9d38120e33, Mar 23 2022, 17:29:05) [Clang 13.0.0...

Opened my eyes now :) This would require a new astroid brain, right Pierre? Many `os.py` functions are Unix-only: https://docs.python.org/3/library/os.html. Oh ignore me I see your control-flow label :)

In my case I haven't been able to reproduce the `no-member`. I see an issue for Python in this situation also: Create `os.py` in the current directory and run `python...

Hi! I notice that there exists a plugin for Pylint called `pylint-pydantic` [github](https://github.com/fcfangcc/pylint-pydantic) [PyPI](https://pypi.org/project/pylint-pydantic/#description) The error reported in this issue is supressed by pylint-pydantic: ```python pip install pylint-pydantic pylint --load-plugins...

I've played around with this & I can't reproduce if I use the example provided & a pylintrc containing only the lines: ```python [MASTER] extension-pkg-whitelist=pydantic ``` When [this line](https://github.com/PyCQA/pylint/blob/main/pylint/checkers/design_analysis.py#L487) is...

Without the `extension-pkg-whitelist=pydantic` option, Pylint cannot parse Pydantic's `BaseModel`. This part is similar to the discussion in https://github.com/PyCQA/pylint/issues/7486 which we closed yesterday. With this option included, Pylint sees 13 public...