File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,12 +118,11 @@ proxyprotocol-server --service localhost:10000 localhost:10007
118118## Development and Testing
119119
120120You 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
129128Run 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
146145This 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
153152No code contribution will be accepted unless it makes every effort to use type
You can’t perform that action at this time.
0 commit comments