I hereby claim:
- I am brettcannon on github.
- I am brettcannon (https://keybase.io/brettcannon) on keybase.
- I have a public key whose fingerprint is D78A 1843 8650 EA2D FE58 817F 9668 94F3 4B4E ABA8
To claim this, I am signing this object:
| 66 total dependencies need to be ported to Python 3. | |
| 63 dependencies have no other dependencies blocking a port to Python 3: | |
| boto | |
| cmd2 | |
| pulp <- coinor.pulp | |
| ddt | |
| diskimage-builder | |
| django-bootstrap-form | |
| django-compressor | |
| django-openstack-auth |
| from __future__ import print_function | |
| import symbol | |
| import token | |
| import astroid | |
| from pylint import checkers, interfaces | |
| from pylint.checkers import utils | |
| # http://python3porting.com/differences.html |
| import io | |
| import tokenize | |
| from astroid import test_utils | |
| from pylint import testutils | |
| import py6_checker | |
| class SixCheckerTest(testutils.CheckerTestCase): |
| <link rel="import" href="../core-icon-button/core-icon-button.html"> | |
| <link rel="import" href="../core-toolbar/core-toolbar.html"> | |
| <link rel="import" href="../core-header-panel/core-header-panel.html"> | |
| <link rel="import" href="../paper-input/paper-input.html"> | |
| <link rel="import" href="../paper-button/paper-button.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> |
| <link rel="import" href="../core-icon-button/core-icon-button.html"> | |
| <link rel="import" href="../core-toolbar/core-toolbar.html"> | |
| <link rel="import" href="../core-header-panel/core-header-panel.html"> | |
| <link rel="import" href="../core-input/core-input.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { |
I hereby claim:
To claim this, I am signing this object:
| import math | |
| arcminute = math.tan(math.pi/10800) # tan(1/60) in radians. | |
| def visual_acuity_seating_distance(diagonal_in_inches, *, native_horizontal_resolution=1920, native_vertical_resolution=1080, | |
| content_vertical_resolution=1080): | |
| """Calculate the closest you should sit to your television, in inches.""" | |
| return (diagonal_in_inches / | |
| (math.sqrt((native_horizontal_resolution/native_vertical_resolution)**2 + 1) * content_vertical_resolution * arcminute)) | |
| # str-only. | |
| def fspath(path): | |
| try: | |
| path = path.__fspath__() | |
| except AttributeError: | |
| pass | |
| if isinstance(path, str): | |
| return path | |
| else: | |
| raise TypeError |
| function fish_prompt | |
| set_color -o red | |
| echo -n "> " | |
| set_color normal | |
| end | |
| # From https://github.com/mduvall/dotfiles/blob/master/fish_prompt.fish. | |
| function fuller_prompt_cwd --description 'Print the current working directory, NOT shortened to fit the prompt' | |
| if test "$PWD" != "$HOME" | |
| printf "%s" (echo $PWD|sed -e 's|/private||' -e "s|^$HOME|~|") |