You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yamllint/yamllint
Dimitri Papadopoulos 8a540c2bbf
octal values: simpler test for match objects
From the Python 3 documentation:
	Match objects always have a boolean value of True.
	Since match() and search() return None when there is no match,
	you can test whether there was a match with a simple if statement:
		match = re.search(pattern, string)
		if match:
		    process(match)
3 years ago
..
conf float-values: Add a new rule to check floating-point numbers 3 years ago
rules octal values: simpler test for match objects 3 years ago
__init__.py yamllint version 1.27.1 3 years ago
__main__.py Add __main__ 8 years ago
cli.py Most __future__ imports are specific to Python 2 3 years ago
config.py No need to inherit from `object` in Python 3 3 years ago
linter.py linter: pre-compile disable/enable rules regexes 3 years ago
parser.py No need to inherit from `object` in Python 3 3 years ago