Skip to content

Conversation

Nebelhom
Copy link
Collaborator

@Nebelhom Nebelhom commented Nov 1, 2016

The PR addresses issue #418

I only added config data to tox.ini as described in the pylama docs ( https://github.com/klen/pylama#id16 )

I could not fully change it, so let's see if the same error persists in appveyor as before.

@Nebelhom
Copy link
Collaborator Author

Nebelhom commented Nov 1, 2016

@whimboo looks like this solved our little problem from #412

Could you please review?

Thanks

tox.ini Outdated
[pylama:pylint]
max_line_length = 100
disable = R

Copy link
Contributor

Choose a reason for hiding this comment

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

Lets not put those configurations into the tox.ini bug use setup.cfg for it. See https://pylama.readthedocs.io/en/latest/#configuration-files.

Also I would prefer to have a general pylama section and not specific ones for each tool used. Does [pylama] not work? Also what is disable = R? Is that really something we need?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You are absolutely right. I moved it to setup.cfg like you suggested.

@whimboo
Copy link
Contributor

whimboo commented Nov 14, 2016

Looks like this PR is blocked on issue #420 now.

max_line_length = 100

[pylama:pylint]
max_line_length = 100
Copy link
Contributor

Choose a reason for hiding this comment

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

Cannot we define a single pylama section with global settings? I feel it weird that we have to do it for each individual checker.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I tried that first, but it would cause pycodestyle failures on line_length

With the way I did it, this did not occur...

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, looks like it is indeed the way to go. It looks fine to me.

@Nebelhom
Copy link
Collaborator Author

@whimboo Do you have any idea what is going on with all these errors on tests? Everytime, we try to fix one, another one jumps out...

This connection error I am experiencing on my laptop, too. It cannot come from this PR, since I am only changing some lines in setup.cfg and the error is thrown in scraper.py...

@whimboo
Copy link
Contributor

whimboo commented Nov 15, 2016

Johannes please see my latest comment on this PR. This is basically blocked on issue #420 which we have to get fixed first.

@whimboo
Copy link
Contributor

whimboo commented Nov 15, 2016

Except OS X which is still running, all other platforms have passing tests now. So I would say lets get this PR merged!

@whimboo whimboo merged commit 6aea272 into mozilla:master Nov 15, 2016
@whimboo whimboo mentioned this pull request Nov 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants