You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One can configure VSCode either in the [User 'settings.json' file](https://code.visualstudio.com/docs/configure/settings#_settings-json-file), or in a local [`.vscode/settings.json`](https://code.visualstudio.com/docs/configure/settings#_workspace-settingsjson-location).
115
+
116
+
117
+
1. Install the [Python extension by Microsoft](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
118
+
119
+
1. Because ni-python-styleguide is a wrapper around `flake8`, you can add the following configuration
120
+
to make it uses ni-python-styleguide's rules.
121
+
122
+
If using Poetry:
123
+
```json
124
+
"flake8.path": [
125
+
"poetry",
126
+
"run",
127
+
"ni-python-styleguide",
128
+
"lint"
129
+
],
130
+
```
131
+
If ni-python-styleguide is directly installed
132
+
```json
133
+
"flake8.path": [
134
+
"ni-python-styleguide",
135
+
"lint"
136
+
],
137
+
```
138
+
139
+
(alternatively, tell `flake8` to use the ni-python-styleguide config)
0 commit comments