opened
verdimrc
username_0
## Environment data

-   VS Code version: 1.4.60-insider (commit: d487078dc7fc1c276657cadb61b4f63833a8df55)
-   Extension version (available under the Extensions sidebar): 2020.6.78209-dev
-   OS and version: macOS Mojave 10.14.6
-   Python version (& distribution if applicable, e.g. Anaconda): python-3.7.6 from conda-forge
-   Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
-   Relevant/affected Python packages and their versions: pydocstyle-5.0.2
-   Relevant/affected Python-related VS Code extensions and their versions: pydocstyle functionalities
-   Jedi or Language Server? (i.e. what is `"python.jediEnabled"` set to; more info #3977): `false`
-   Value of the `python.languageServer` setting: `Microsoft`

## Expected behaviour
Configured pydocstyle to ignore `setup.py` in `tox.ini`:
```ini
[pydocstyle]
match = (?!setup).*\.py
```

Running `pydocstyle` from cli correctly skips checks on `${workspaceDir}/setup.py`.

I would've expected vscode to also not reporting pydocstyle violations.

## Actual behaviour

vscode still reports pydocstyle violations on `setup.py`. And as a matter of fact, also tried to put pydocstyle setting in `.pydocstyle`, to no effect.

## Steps to reproduce:

1. settings

```json
// settings.json
{
    "python.jediEnabled": false,
    "python.langageServer": "Microsoft",
    "python.linting.enabled": true,
    "python.linting.flake8Enabled": true,
    "python.linting.mypy": true,
    "python.linting.pydocstyleEnabled": true,
    "python.linting.pytestEnabled": true,
    "python.linting.unittestEnabled": true,
    "python.linting.noseteststEnabled": true,
```

```ini
# tox.ini
[pydocstyle]
match = (?!setup).*\.py
```

2. Open `setup.py`, and vscode will reports pydocstyle violation (under Problem tab, and visual indications on the offending line.

</details>
Workspace does not respect pydocstyle's match setting.
issue
created
karthiknadig
username_1
@username_0 Can you share a screenshot of where the problem is shown? Also, can you share the contents of Output > Python pannel?
comment
created
verdimrc
username_0
#### Screenshot-1: vscode shows pydocstyle errors despite `setup.py` is blacklisted in `tox.ini`.
<img width="628" alt="Screen Shot 2020-05-21 at 11 02 35 AM" src="https://user-images.githubusercontent.com/2340781/82518972-1e3b1200-9b53-11ea-8c4f-f0542de3a113.png">

#### Screenshot-2: pydocstyle cli rightly skips `setup.py`
<img width="626" alt="Screen Shot 2020-05-21 at 11 03 00 AM" src="https://user-images.githubusercontent.com/2340781/82519168-a02b3b00-9b53-11ea-8394-4f500a6e0b5d.png">

#### Screenshot-3: pydocstyle cli rightly checks `setup.py` if this file is not blacklisted.
<img width="634" alt="Screen Shot 2020-05-21 at 11 03 19 AM" src="https://user-images.githubusercontent.com/2340781/82519106-796d0480-9b53-11ea-9793-3106c8b0b72b.png">
comment
created
verdimrc
username_0
cwd: ~/src/github/smepu
```
comment
created
verdimrc
username_0
Hi, no longer an issue with latest insiders (vscode & python extension).
comment
closed
brettcannon
username_2
issue