Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Commit

Permalink
Problem: flake8 failures are present
Browse files Browse the repository at this point in the history
Solution: fix real problems and add .travis dir to list of ignored

[noissue]
  • Loading branch information
dkliban committed Apr 23, 2019
1 parent 46a4b76 commit 2269d2f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
4 changes: 0 additions & 4 deletions .travis/docs-builder.py
@@ -1,15 +1,11 @@
#!/usr/bin/env python

import argparse
import fnmatch
import subprocess
import os
import sys
from shutil import copyfile, rmtree
import tempfile
import urllib.request
import re
from io import StringIO
import yaml

WORKING_DIR = os.path.join(os.environ['TRAVIS_BUILD_DIR'], '../working')
Expand Down
2 changes: 1 addition & 1 deletion flake8.cfg
@@ -1,5 +1,5 @@
[flake8]
exclude = ./docs/*, ./playpen/*, */build/*, */backports/*
exclude = ./docs/*, ./playpen/*, */build/*, */backports/*, ./.travis/*
# E401: multiple imports on one line
ignore = E401
max-line-length = 100
Expand Up @@ -26,7 +26,7 @@ def migrate(*args, **kwargs):
try:
importer[updated_key] = isodate.parse_datetime(importer['last_sync'])
# The attribute doesn't exist, or parsing failed. It's safe to set a newer timestamp.
except: # noqa: 722
except: # noqa: 722
importer[updated_key] = datetime.datetime.now(tz=isodate.UTC)
modified = True

Expand Down
1 change: 0 additions & 1 deletion server/test/unit/server/db/model/test_dispatch.py
Expand Up @@ -17,7 +17,6 @@

from .... import base
from pulp.common import constants, dateutils
from pulp.devel import mock_plugins, skip
from pulp.server.db import model
from pulp.server.db.model import TaskStatus
from pulp.server.db.model.criteria import Criteria
Expand Down

0 comments on commit 2269d2f

Please sign in to comment.