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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-31Lines changed: 2 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,39 +85,10 @@ To run all quality checks together
85
85
make quality
86
86
```
87
87
88
-
##### Lint verification
89
-
90
-
To ensure that your incoming PR complies with the lint settings, you need to install [flake8](https://flake8.pycqa.org/en/latest/) and run the following command from the repository's root folder:
91
-
92
-
```shell
93
-
flake8 ./
94
-
```
95
-
This will read the `.flake8` setting file and let you know whether your commits need some adjustments.
96
-
97
-
##### Import order
98
-
99
-
In order to ensure there is a common import order convention, run [isort](https://github.com/PyCQA/isort) as follows:
100
-
101
-
```shell
102
-
isort .
103
-
```
104
-
This will reorder the imports of your local files.
105
-
106
-
##### Annotation typing
107
-
108
-
Additionally, to catch type-related issues and have a cleaner codebase, annotation typing are expected. After installing [mypy](https://github.com/python/mypy), you can run the verifications as follows:
109
-
110
-
```shell
111
-
mypy
112
-
```
113
-
The `pyproject.toml` file will be read to check your typing.
114
-
115
-
##### Code formatting
116
-
117
-
Finally, code formatting is a good practice for shareable projects. After installing [black](https://github.com/psf/black), you can run the verifications as follows:
88
+
The previous command won't modify anything in your codebase. Some fixes (import ordering and code formatting) can be done automatically using the following command:
0 commit comments