The-Compiler/qutebrowser — pull request #213 by peterlvilim (2014-10-26 08:10:44+00:00)
Title: hints: Show uppercase hint chars #73

I currently have this feature set to be false by default. Don't have a strong preference either way as to whether it should be true by default. My personal preference is for true.

Manual testing:
Browsed through links with both character based and numerical hints while hints.uppercase was set to true and while it was set to false. Made sure that no errors were generated and that the hints were in uppercase font when the new option was set.

Automated testing:
Couldn't figure out how to get this to work. Believe that I have all the correct packages installed off of apt and pip after reading your docs. Here's my output:
./run_checks.py
Traceback (most recent call last):
File "/usr/lib/python3.4/configparser.py", line 762, in get
value = d[option]
File "/usr/lib/python3.4/collections/__init__.py", line 790, in __getitem__
return self.__missing__(key) # support subclasses that define __missing__
File "/usr/lib/python3.4/collections/__init__.py", line 782, in __missing__
raise KeyError(key)
KeyError: 'targets'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./run_checks.py", line 333, in
sys.exit(main())
File "./run_checks.py", line 291, in main
checkers = _get_checkers()
File "./run_checks.py", line 259, in _get_checkers
for target in config.get('DEFAULT', 'targets').split(','):
File "/usr/lib/python3.4/configparser.py", line 765, in get
raise NoOptionError(option, section)
configparser.NoOptionError: No option 'targets' in section: 'DEFAULT'

I'm on: Linux carbon 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux