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.
		
		
		
		
		
			
				
					
						
							This commit refactors the `allow-non-breakable-inline-mappings` logic to
use YAML tokens and avoid crashes or erroneous reports on cases like:
```yaml
- {a: "http://localhost/very/very/very/very/very/very/long/url"
   }
```
```yaml
dict:
  {a: long long long long long long long, b: nospace}
```
```yaml
- long_line: http://localhost/very/very/long/url
```
```yaml
long_line: and+some+space+at+the+end       <-- extra spaces
```
For reference see:
https://github.com/adrienverge/yamllint/pull/17#issuecomment-247805799
						
					
				
			 | 
			9 years ago | |
|---|---|---|
| .. | ||
| rules | 9 years ago | |
| yaml-1.2-spec-examples | 10 years ago | |
| __init__.py | 9 years ago | |
| common.py | 10 years ago | |
| test_cli.py | 9 years ago | |
| test_config.py | 10 years ago | |
| test_linter.py | 9 years ago | |
| test_parser.py | 9 years ago | |
| test_spec_examples.py | 10 years ago | |
| test_syntax_errors.py | 10 years ago | |
| test_yamllint_directives.py | 9 years ago | |