The `HAS_PEP8` constant is unnecessary IMO.

```py
try:
    import pep8
except ImportError:
    pep8 = None
```

Then:

```py
@unittest.skipIf(pep8 is None, "needs pep8")
def test_something(self):
    pass
```