Miran
1edb9a6178
fix #14401 , trailing comma confuses nimpretty ( #14867 )
2020-07-01 11:40:13 +02:00
Juan Carlos
8e54bc5b0c
Deprecate and/or remove ospaths ( #14767 )
2020-06-23 10:51:33 +02:00
Jacek Sieka
7d6cbf290a
Error -> Defect for defects ( #13908 )
...
* Error -> Defect for defects
The distinction between Error and Defect is subjective,
context-dependent and somewhat arbitrary, so when looking at an
exception, it's hard to guess what it is - this happens often when
looking at a `raises` list _without_ opening the corresponding
definition and digging through layers of inheritance.
With the help of a little consistency in naming, it's at least possible
to start disentangling the two error types and the standard lib can set
a good example here.
2020-04-28 19:56:01 +02:00
Federico Ceratto
39290cf88c
Fix spellings ( #12277 ) [backport]
2019-09-27 07:02:54 +02:00
narimiran
ceb742351a
nimpretty: fix #11937 (wrong indentation)
2019-08-19 13:35:10 +02:00
Araq
6d8913ee14
nimpretty: fixes #11616
2019-07-18 12:13:22 +02:00
Araq
7deb49e992
nimpretty: fixes #11699
2019-07-18 11:28:25 +02:00
Miran
2f0a50fa51
nimpretty: fix #11700 , no extra newlines ( #11714 )
2019-07-12 09:14:21 +02:00
narimiran
96d49608c0
nimpretty: more comment indentation fixes
2019-07-09 13:15:35 +02:00
Araq
eefcea8892
nimpretty: more improvements
2019-07-09 11:38:01 +02:00
Araq
0193c8ad2e
nimpretty: yet another improvement
2019-07-09 11:38:01 +02:00
Miran
d0616ed115
nimpretty: don't introduce extra spaces after a colon or a comma ( #11672 )
2019-07-07 20:13:10 +02:00
Miran
34c09a98c7
nimpretty: improved detection of commas and semicolons ( #11661 )
...
* nimpretty: improved detection of commas and semicolons
* address the comments
2019-07-06 00:21:21 +02:00
Miran
176eaf5c90
nimpretty: don't touch formatted multiline comments ( #11663 )
2019-07-05 21:47:01 +02:00
Miran
96a19ea1b4
nimpretty: relax line length rules when dealing with (inline) comments ( #11657 )
2019-07-05 09:32:56 +02:00
Miran
0718d6c2cd
[bugfix] fix wrong nimpretty unidents, refs #11616 ( #11645 )
2019-07-03 18:55:15 +02:00
Miran
c522a455df
[bugfix] nimpretty indents multiline comments correctly ( #11607 )
2019-07-02 10:52:46 +02:00
Araq
284a8cb58a
nimpretty: bugfix [bugfix]
2019-06-28 11:45:21 +02:00
Miran
f288e1b11a
[bugfix] fix #11469 , new rules for a newline in nimpretty ( #11512 )
...
* [bugfix] fix #11469 , new rules for a newline in nimpretty
* concatenate two lines if they have the same indentation level
2019-06-26 15:36:44 +02:00
Araq
57a83df745
[bugfix] nimpretty: better alignment; fixes #11467
2019-06-14 11:16:39 +02:00
Araq
165ea46284
[bugfix] nimpretty: fixes #11470
2019-06-13 10:58:27 +02:00
Araq
af39f26a3a
[bugfix] nimpretty: fixes #11468
2019-06-13 10:42:37 +02:00
Andreas Rumpf
caf93f4355
nimpretty: smart tabs support, fixes #9399 [bugfix]
2019-06-10 10:50:15 +02:00
Andreas Rumpf
9f82e07b2d
nimpretty: fixes #10156 [bugfix]
2019-06-08 00:00:00 +02:00
Araq
12fc1dfb2c
nimpretty: closes #10159 [bugfix]
2019-06-07 13:03:04 +02:00
Araq
667af87e66
nimpretty: fixes #9505 [bugfix]
2019-06-07 12:59:31 +02:00
Araq
790bc5b07b
nimpretty: fixes #10177 [bugfix]
2019-06-07 11:50:56 +02:00
Araq
447cc1ff09
nimpretty: fixes #10295
2019-06-07 10:37:00 +02:00
tofu
a990afcedc
fixes #10200 ( #10950 )
...
* fixes #10200
* add rule for other comparison operators
* add rule for '!='
* add test
* fixed to pass the test
2019-04-04 14:58:54 +02:00
Andreas Rumpf
532647171e
nimpretty: fixes #9673 [backport]
2018-11-11 10:39:20 +01:00
Andreas Rumpf
03005fde99
nimpretty: fixes #9506
2018-10-26 01:53:10 +02:00
Araq
87d60b2a4b
nimpretty: fixes #9500
2018-10-25 11:48:06 +02:00
Araq
0afca3dd6b
nimpretty: fixes #9504
2018-10-25 11:18:03 +02:00
Araq
e7e75224a2
nimpretty: closes #9484
2018-10-24 15:22:28 +02:00
Araq
06a6433db7
nimpretty: test for idempotence; fixes #9483
2018-10-24 15:19:29 +02:00
Araq
3ee53a7c8e
nimpretty: fixes #8078
2018-10-24 00:59:57 +02:00
Araq
e3a0415650
nimpretty: fixes #9398
2018-10-24 00:53:41 +02:00
Araq
72370c8dfa
closes #9400
2018-10-23 17:52:18 +02:00
Araq
695074214b
nimpretty: minor bug fix
2018-10-23 17:52:18 +02:00
Andreas Rumpf
480d228603
nimpretty: added an new simple test
2018-10-16 17:25:12 +02:00
Andreas Rumpf
778e4d1775
nimpretty: fixes #9144
2018-10-16 17:21:41 +02:00
Andreas Rumpf
f3c0703b7d
nimpretty: add #!nimpretty on/off directives
2018-10-16 16:55:04 +02:00
Andreas Rumpf
ed38079b9b
nimpretty: fixes #8626
2018-10-16 16:55:04 +02:00
Andreas Rumpf
89ba0f8592
nimpretty: render r-strings properly, fixes #9236
2018-10-16 13:33:14 +02:00
Araq
5976bd96be
nimpretty: detect '; vs ,' style based on the first usage of the token in parameter lists
2018-06-26 01:43:41 +02:00
Araq
1be82d96a6
nimpretty: bugfixes; refs #8078
2018-06-20 11:35:36 +02:00
Andreas Rumpf
2a662250d4
nimpretty: added more code claimed to not be working
2018-06-20 00:59:01 +02:00
Andreas Rumpf
0725003a8c
nimpretty: fixes more reported issues
2018-06-20 00:56:29 +02:00
Andreas Rumpf
c3090fcb48
nimpretty: don't produce trailing whitespace; fixes the rendering of unary operators
2018-06-19 23:45:11 +02:00
Andreas Rumpf
837d0c7270
nimpretty: proper command line handling; added tests; travis ensures these stay green
2018-06-19 20:06:04 +02:00