6 Commits

Author SHA1 Message Date
Mikhail Golubev
b55fd53258 PY-35627 Make Python formatter always add a line break after a decorator list
For regular non-async functions, it already worked thanks to PyTokenSeparatorGenerator.

GitOrigin-RevId: b60dba7b34710cad7dc46ad6f943b3944fc00c42
2024-02-07 17:34:28 +00:00
Semyon Proshev
56a1c00c2a Make python-latest project descriptor default in tests
Update test data and reduce manual language level setup

GitOrigin-RevId: d6ddec1b2b29a2b7f1a34cfb5982fd975de78d65
2021-03-15 17:33:04 +00:00
Ekaterina Tuzova
ce7c8cdc46 fixed tests since we don't propose to make static decorated method 2013-12-02 21:25:20 +04:00
Ekaterina Tuzova
536d978917 fixed PY-9654 Make function from method/Make method static: correctly update class calls with first instance argument 2013-05-29 16:35:09 +04:00
Ekaterina Tuzova
6eb69aa83a fixed PY-9405 Method can be static: handle existing decorators 2013-04-09 14:41:50 +04:00
Ekaterina Tuzova
1fa5b3bfd6 added Method may be static or a function (+ quickfix) 2013-03-26 15:48:16 +04:00