Skip to content

Commit 3a058ed

Browse files
authored
Update README.md
1 parent 35cd9eb commit 3a058ed

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,11 @@ proxyprotocol-server --service localhost:10000 localhost:10007
118118
## Development and Testing
119119

120120
You will need to do some additional setup to develop and test plugins. First
121-
off, I suggest activating a [venv][5]. Then, install the test requirements and
122-
a local link to the proxy-protocol package:
121+
off, I suggest activating a [venv][5]. Then, install the requirements and a
122+
local link to the proxy-protocol package:
123123

124124
```
125-
$ pip install -r test/requirements.txt
126-
$ pip install -e .
125+
$ pip install -r requirements-dev.txt
127126
```
128127

129128
Run the tests with py.test:
@@ -137,17 +136,17 @@ tests run by CI/CD is passing:
137136

138137
```
139138
$ py.test
140-
$ mypy --strict proxyprotocol test
139+
$ mypy proxyprotocol test
141140
$ flake8 proxyprotocol test
142141
```
143142

144143
### Type Hinting
145144

146145
This project makes heavy use of Python's [type hinting][6] system, with the
147-
intention of a clean run of [mypy][7]:
146+
intention of a clean run of [mypy][7] in strict mode:
148147

149148
```
150-
mypy --strict proxyprotocol test
149+
mypy proxyprotocol test
151150
```
152151

153152
No code contribution will be accepted unless it makes every effort to use type

0 commit comments

Comments
 (0)