Skip to content

Commit

Permalink
Fix mypy command in CONTRIBUTING.md (#107)
Browse files Browse the repository at this point in the history
The mypy command was previously defined as follows:
```bash
mypy wemake_python_styleguide
```

Running this command resulted in the following error message:
```
mypy: can't read file 'wemake_python_styleguide': No such file or directory
```

The contribution guidelines are probably copied over from
`wemake_python_styleguide` and the mypy command has not been updated
to the new module name.

The mypy command is now updated to
```bash
mypy flake8_eradicate.py
```
This command works and is also the command used in the `.travis.yml`
for running mypy during CI.
  • Loading branch information
tbrlpld authored and sobolevn committed Dec 17, 2019
1 parent aa76a84 commit 5f4c106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ We use `mypy` to run type checks on our code.
To use it:

```bash
mypy wemake_python_styleguide
mypy flake8_eradicate.py
```

This step is mandatory during the CI.
Expand Down

0 comments on commit 5f4c106

Please sign in to comment.