Jelle Zijlstra
464761bfd3
Fixes to shutil stub in Python 3 ( #1227 )
...
Mostly PathLike support; also added the os.terminal_size namedtuple.
2017-05-01 08:30:41 -07:00
Matt Kimball
31d4a4277b
Added 'shutil' API changes between 3.3 and 3.5 ( #915 )
...
As of Python 3.3, copymode, copystat, copy and copy2 take an
optional argument, 'follow_symlinks'.
As of Python 3.3, copytree and move return the destination.
As of Python 3.5, move takes an optional copy function.
As of Python 3.3, disk_usage, chown, which and get_terminal_size
were added.
2017-02-06 10:18:27 -08:00
Lukasz Langa
68a49c2c2e
Fixing flake8 E111, E114, E116, E203, E225, E262 errors
2016-12-20 01:39:18 -08:00
George King
af5b5c83fd
Make shutil.copytree stub's ignore parameter optional. ( #740 )
...
* Make `shutil.copytree` stub's `ignore` parameter optional.
* python2.7 shutil.copytree `ignore` annotated as optional.
2016-12-07 14:47:34 -08:00
Danny Weinberg
679a6e5669
Give shutil.which a return annotation ( #744 )
2016-12-05 11:41:53 -08:00
paavoap
71042452c7
Add stub for SameFileError. ( #594 )
2016-10-10 08:07:54 -07:00
jgarvin
490b34649f
Add stub for shutil.which ( #592 )
2016-10-09 19:58:55 -07:00
Matthias Kramm
94c9ce8fd0
Consistently use '= ...' for optional parameters.
2015-11-09 13:55:02 -08:00
Matthias Kramm
337abed05a
add (overwrite with) mypy stubs, if available
2015-09-30 09:59:44 -07:00