Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude new django migrations forlders #358

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions django_jenkins/tasks/pylint.rc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[MASTER]
persistent=yes
ignore=south_migrations
ignore=migrations

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignore=south_migrations,migrations

otherwise there will be an error:

onfigparser.DuplicateOptionError: While reading from '.pylintrc' [line 4]: option 'ignore' in section 'MASTER' already exists

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed it

cache-size=500

[MESSAGES CONTROL]
Expand Down
2 changes: 1 addition & 1 deletion django_jenkins/tasks/run_pyflakes.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Reporter(object):
def add_arguments(self, parser):
parser.add_argument("--pyflakes-exclude-dir",
action="append",
default=['south_migrations'],
default=['south_migrations', 'migrations'],
dest="pyflakes_exclude_dirs",
help="Path name to exclude")

Expand Down