These are chat archives for coala/coala-bears
@virresh, @RaiVaibhav, IMO we should only exclude 9.0.2, and possibly get ahead of the game and blacklist pip 10, because I am sure we dont want pip 10 until about pip 10.2.7
I thought so.
I will file an issue for it then
diff_distancething, providing 0 isn't the same as providing a negative number
it should show what is in the resulting objects diffs
according to what
Splits this diff into small pieces, such that several continuously altered lines are still together in one diff. All subdiffs will be yielded.
^^this is the default behavior, providing distance == 1
if we provide 0, those continously altered lines aren't considered together in a single diff, and are yielded as a different Diff object
-1 will result in a diff for -a , another for -e , and a third for +f
-1, not any negative value
-1, the implementation can be modified and the
-1can be a trigger
then all of our new settings should be enabled by default ...?
they already are, by the
i.e. these new settings you are creating would be mostly used to deactivate undesirable checks?
yes, yes, right
also, to activate only a particular check or a subset of checks or to disable a subset of checks
@jayvdb, for coala/coala-bears#2386
def some_setting(select: str='--select', ignore: str='--ignore', select_check: typed_list(str)=(), ignore_check: typed_list(str)=()): if set(select_check).intersection(set(ignore_check)): self.err("Some error message") self.err(set(select_check).intersection(set(ignore_check))) return if select_check: select_list = ','.join(part.strip() for part in select_check) args = (select, select_list,) if ignore_check: ignore_list = ','.join(part.strip() for part in ignore_check) args += (ignore, ignore_list,) return args
You mean something like this?