6 Commits
Author SHA1 Message Date
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
Mikhail Golubev 30c586b5a1 PY-19705 Add an option for blanks between class header and its first method
On the whole, we don't touch these blank lines (as opposed to deleting
them previously) unless they exceed the limit specified in settings
(Keep maximum blank lines in declarations).
If someone wants to always put a blank line before the first method,
as in PY-1765, they can use this new option.
2017-09-04 16:41:35 +03:00
Mikhail Golubev e6ec37ccfe PY-19705 Add blanks lines around methods of a class as required by PEP 8 2017-07-28 15:23:31 +03:00
Mikhail Golubev a1382d3f9a PY-12360 PyTrailingBlankLinesPostFormatProcessor operates solely on Document level
Since it finally works as expected now, I also updated test data files to include this extra
line feed required by PEP8.
2015-04-27 20:34:49 +03:00
Dmitry Jemerov 233472ef25 honor "around class" option for blank lines before non-top-level class (PY-3729) 2011-06-24 19:05:27 +02:00
Dmitry Jemerov 0b115b0eea some handling for "blank lines around classes" (PY-295) 2010-03-16 18:36:39 +03:00