]>
git.madduck.net Git - etc/vim.git/blobdiff - tests/data/collections.py
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
+# keeps existing trailing comma
+# also keeps existing structure
from foo import (
baz,
qux,
)
from foo import (
baz,
qux,
)
-# as doesn't get confusing when unwrapped
from foo import (
xyzzy as magic,
)
from foo import (
xyzzy as magic,
)
-# unwraps
-from foo import bar
+# keeps existing trailing comma
+from foo import (
+ bar,
+)
+# also keeps existing structure
from foo import (
baz,
qux,
)
from foo import (
baz,
qux,
)
-# as doesn't get confusing when unwrapped
-from foo import xyzzy as magic
+# `as` works as well
+from foo import (
+ xyzzy as magic,
+)
print("foo %r", (foo.bar,))
if True:
print("foo %r", (foo.bar,))
if True:
- IGNORED_TYPES_FOR_ATTRIBUTE_CHECKING = Config.IGNORED_TYPES_FOR_ATTRIBUTE_CHECKING | {
- pylons.controllers.WSGIController
- }
+ IGNORED_TYPES_FOR_ATTRIBUTE_CHECKING = (
+ Config.IGNORED_TYPES_FOR_ATTRIBUTE_CHECKING
+ | {pylons.controllers.WSGIController}
+ )
if True:
ec2client.get_waiter("instance_stopped").wait(
if True:
ec2client.get_waiter("instance_stopped").wait(
- InstanceIds=[instance.id], WaiterConfig={"Delay": 5,}
+ InstanceIds=[instance.id],
+ WaiterConfig={
+ "Delay": 5,
+ },
)
ec2client.get_waiter("instance_stopped").wait(
)
ec2client.get_waiter("instance_stopped").wait(
- InstanceIds=[instance.id], WaiterConfig={"Delay": 5,},
+ InstanceIds=[instance.id],
+ WaiterConfig={
+ "Delay": 5,
+ },
)
ec2client.get_waiter("instance_stopped").wait(
)
ec2client.get_waiter("instance_stopped").wait(
- InstanceIds=[instance.id], WaiterConfig={"Delay": 5,},
+ InstanceIds=[instance.id],
+ WaiterConfig={
+ "Delay": 5,
+ },