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
In song lists augment sort tag for tag patterns with conditional tag … #1783
Conversation
…pattern that selects sort version of tag if present
Looks good. Can you fix the travis tests? https://travis-ci.org/quodlibet/quodlibet/jobs/102230304#L1067 |
It appears that the problem was a line longer than 79 characters. I peter PS: I wonder why there is a check for lines less than 80 characters. On 01/14/2016 04:17 AM, Christoph Reiter wrote:
|
We run pep8 and pyflakes, both with some errors and warnings disabled/ignored which we found too strict/annoying. It makes sure that the whole code base remains readable and has a consistent style. The 80 char limit is mostly there because pep8 has it by default and we haven't had the need to disabled/change it. If you prefer a different limit feel free to open a bug report about it. You can invoke the tests yourself locally using "./setup.py quality". See https://quodlibet.readthedocs.org/en/latest/development/testing.html#testing |
I was just wondering about the line limit. I'm not going to agitate to change it. I tried to run the tests locally, but pep8 was not installed. It took some digging to find it. And then the output is strange
This is on an up-to-date Fedora distribution. Anyway, not a severe problem, it just means that I have to push and look at the builds on github for this. |
Aah, you have to |
In song lists augment sort tag for tag patterns with conditional tag …
Thanks |
Great! By the way, how easy was it to set up the automatic checks? Is there a cookbook for doing it? |
…pattern that selects sort version of tag if present.
All that this does is replace any that has a sort version with <sorttag||> when building the sort tag from a tag pattern.