mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:35:06 +02:00
Remove old references to pep8 in our code (#4073)
This commit is contained in:
committed by
Peter Eckersley
parent
fe358600ab
commit
bb669528b3
@@ -1,4 +0,0 @@
|
|||||||
[pep8]
|
|
||||||
# E265 block comment should start with '# '
|
|
||||||
# E501 line too long (X > 79 characters)
|
|
||||||
ignore = E265,E501
|
|
||||||
+1
-1
@@ -32,7 +32,7 @@ RUN /opt/certbot/src/letsencrypt-auto-source/letsencrypt-auto --os-packages-only
|
|||||||
# the above is not likely to change, so by putting it further up the
|
# the above is not likely to change, so by putting it further up the
|
||||||
# Dockerfile we make sure we cache as much as possible
|
# Dockerfile we make sure we cache as much as possible
|
||||||
|
|
||||||
COPY setup.py README.rst CHANGES.rst MANIFEST.in linter_plugin.py tox.cover.sh tox.ini pep8.travis.sh .pep8 .pylintrc /opt/certbot/src/
|
COPY setup.py README.rst CHANGES.rst MANIFEST.in linter_plugin.py tox.cover.sh tox.ini .pylintrc /opt/certbot/src/
|
||||||
|
|
||||||
# all above files are necessary for setup.py, however, package source
|
# all above files are necessary for setup.py, however, package source
|
||||||
# code directory has to be copied separately to a subdirectory...
|
# code directory has to be copied separately to a subdirectory...
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
[pep8]
|
|
||||||
# E265 block comment should start with '# '
|
|
||||||
# E501 line too long (X > 79 characters)
|
|
||||||
ignore = E265,E501
|
|
||||||
@@ -40,7 +40,6 @@ dns_extras = [
|
|||||||
|
|
||||||
dev_extras = [
|
dev_extras = [
|
||||||
'nose',
|
'nose',
|
||||||
'pep8',
|
|
||||||
'tox',
|
'tox',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ RUN /opt/certbot/src/certbot-auto -n --os-packages-only
|
|||||||
# the above is not likely to change, so by putting it further up the
|
# the above is not likely to change, so by putting it further up the
|
||||||
# Dockerfile we make sure we cache as much as possible
|
# Dockerfile we make sure we cache as much as possible
|
||||||
|
|
||||||
COPY setup.py README.rst CHANGES.rst MANIFEST.in linter_plugin.py tox.cover.sh tox.ini pep8.travis.sh .pep8 .pylintrc /opt/certbot/src/
|
COPY setup.py README.rst CHANGES.rst MANIFEST.in linter_plugin.py tox.cover.sh tox.ini .pylintrc /opt/certbot/src/
|
||||||
|
|
||||||
# all above files are necessary for setup.py, however, package source
|
# all above files are necessary for setup.py, however, package source
|
||||||
# code directory has to be copied separately to a subdirectory...
|
# code directory has to be copied separately to a subdirectory...
|
||||||
|
|||||||
@@ -312,17 +312,15 @@ Steps:
|
|||||||
2. Make sure your environment is set up properly and that you're in your
|
2. Make sure your environment is set up properly and that you're in your
|
||||||
virtualenv. You can do this by running ``./tools/venv.sh``.
|
virtualenv. You can do this by running ``./tools/venv.sh``.
|
||||||
(this is a **very important** step)
|
(this is a **very important** step)
|
||||||
3. Run ``./pep8.travis.sh`` to do a cursory check of your code style.
|
3. Run ``tox -e lint`` to check for pylint errors. Fix any errors.
|
||||||
Fix any errors.
|
4. Run ``tox --skip-missing-interpreters`` to run the entire test suite
|
||||||
4. Run ``tox -e lint`` to check for pylint errors. Fix any errors.
|
|
||||||
5. Run ``tox --skip-missing-interpreters`` to run the entire test suite
|
|
||||||
including coverage. The ``--skip-missing-interpreters`` argument ignores
|
including coverage. The ``--skip-missing-interpreters`` argument ignores
|
||||||
missing versions of Python needed for running the tests. Fix any errors.
|
missing versions of Python needed for running the tests. Fix any errors.
|
||||||
6. If your code touches communication with an ACME server/Boulder, you
|
5. If your code touches communication with an ACME server/Boulder, you
|
||||||
should run the integration tests, see `integration`_. See `Known Issues`_
|
should run the integration tests, see `integration`_. See `Known Issues`_
|
||||||
for some common failures that have nothing to do with your code.
|
for some common failures that have nothing to do with your code.
|
||||||
7. Submit the PR.
|
6. Submit the PR.
|
||||||
8. Did your tests pass on Travis? If they didn't, fix any errors.
|
7. Did your tests pass on Travis? If they didn't, fix any errors.
|
||||||
|
|
||||||
|
|
||||||
Updating certbot-auto and letsencrypt-auto
|
Updating certbot-auto and letsencrypt-auto
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -e # Fail fast
|
|
||||||
|
|
||||||
pep8 --config=acme/.pep8 acme
|
|
||||||
Reference in New Issue
Block a user