1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 14:48:49 +00:00

1599 Commits

Author SHA1 Message Date
Pablo Santiago Blum de Aguiar
5ea652d19f is the quote needed? 2021-01-20 14:11:58 +01:00
Pablo Santiago Blum de Aguiar
92976b1a82 rename workflow and update/remove badges 2021-01-20 14:11:58 +01:00
Divy Jain
b99bfd2ade
now I know gha syntax 2021-01-08 14:16:34 +05:30
Divy Jain
64df536a63
i don't know gha syntax 2021-01-08 14:08:45 +05:30
Divy Jain
5cdd4205cb
set latest python to 3.9 2021-01-08 14:03:20 +05:30
Pablo Santiago Blum de Aguiar
5117d8a853 need no id there 2021-01-08 00:13:42 +01:00
Pablo Santiago Blum de Aguiar
8f3f1a3ede cache deps 2021-01-08 00:07:06 +01:00
Pablo Santiago Blum de Aguiar
d05258506f lint only once 2021-01-08 00:06:43 +01:00
Divy Jain
320cc4742c
remove redundant python versions 2021-01-05 12:45:12 +05:30
Divy Jain
d7967e0966
add experimental python versions 2021-01-05 12:42:13 +05:30
Divy Jain
9988e89bb5
reword things 2021-01-04 02:48:07 +05:30
Divy Jain
70e94b2d5f
better coverage 2021-01-04 02:31:00 +05:30
Divy Jain
9689b90cdb
we don't need newer pip 2021-01-04 02:19:31 +05:30
Pablo Santiago Blum de Aguiar
0aadd59b40 Add token for coveralls 2021-01-03 21:46:33 +01:00
Divy Jain
d56c7f3cf9
try installing basics 2021-01-04 02:12:52 +05:30
Divy Jain
33886433f0
don't install coverage either 2021-01-04 02:09:11 +05:30
Pablo Santiago Blum de Aguiar
27937ce055 Bring back all pys 2021-01-03 21:27:56 +01:00
Pablo Santiago Blum de Aguiar
d910d4b69d Cleanup 2021-01-03 21:24:40 +01:00
Pablo Santiago Blum de Aguiar
7cad22055f Do not install pip 2021-01-03 21:24:28 +01:00
Pablo Santiago Blum de Aguiar
ead54ef2a7 Focus on 2.7 2021-01-03 21:23:01 +01:00
Divy Jain
4325c9415d
don't install coverage 2021-01-04 01:47:20 +05:30
Pablo Santiago Blum de Aguiar
b250210426 Call those directly 2021-01-03 21:04:16 +01:00
Divy Jain
95e7287045
enable function tests 2021-01-04 01:31:40 +05:30
Divy Jain
6d5798fc53
🤦 2021-01-04 01:26:23 +05:30
Divy Jain
11024f75ed
seperate step for functional tests 2021-01-04 01:23:24 +05:30
Pablo Santiago Blum de Aguiar
8edd9ca744 Install coverage 2021-01-03 20:43:23 +01:00
Divy Jain
1c2e23e51e
add basic draft of test workflow 2021-01-04 01:06:32 +05:30
Divy Jain
40dd65963d
#1141: Fix crash on empty history (#1145) 2020-11-18 10:43:11 +01:00
Kartik Soneji
836f6eeac5
Skip test instead of failing if go executable is not found. (#1117) 2020-11-03 18:30:03 +01:00
Kartik Soneji
b4c75eebe6
Fix pytest warnings (#1116)
* Add custom pytest mark.

* Fix typo usefixture -> usefixtures.
2020-11-03 18:29:28 +01:00
Pablo Aguiar
22efa8f70e
#1113: Do not load excluded rules (#1125) 2020-11-03 18:27:09 +01:00
Pablo Aguiar
9d3bcad229
#1113: Ignore a rule that fails to load (#1124) 2020-11-03 18:26:13 +01:00
Divya Jain
c196e2901c
#509: Fixed correction on windows machine running other shells (#1091)
* Replaced print with sys.stdout.write

* Fixed tests

* Normalized line endings
2020-07-16 23:56:58 +02:00
Aditi Gupta
ca46956e20
#1066 - Fix rule for brew cask (#1111)
* #1066: Add cask to list of fallback commands

* #1066: Fix homebrew paths
2020-07-16 23:34:41 +02:00
Nyanotech
639e9bda7a
Add rule to remove a doubled-up "git clone" in a git clone command. (#1106)
Some git hosts will copy the entire clone command, while others just
copy the url, so typing "git clone ", then pasting a git url that
already has a "git clone " on the front is a somewhat common issue.
2020-07-16 23:34:22 +02:00
Divya Jain
39753a004e
#1096: Rule: Bypass failed git hook (#1097)
* naive implementation

* better implementation

* remove redundant enabled_by_default

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>

* add README entry

* add tests

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
2020-07-16 23:32:29 +02:00
Divya Jain
365db1ee41
#N/A: Refactor for better readability (#1094)
* #N/A: Refactor for better readability

* Change typename for test tuple

* Rename variable
2020-06-14 16:20:40 +02:00
Divya Jain
81b39defe4
#N/A: Fix formatting (#1092)
* Fixed corrector.py format string

* Fixed types.py format string

* Fixed tests/rules/test_fix_file.py formatting

* Removed trailing whitespace

* Fixed UnicodeEncodeError in python 2.7
2020-06-11 00:21:45 +02:00
Connor Martin
f82176802e
add git-lfs support (#1056)
* add mistyping support for git lfs

* add the rule

* fix flake8

* flake8

* add to readme

* use fixtures and regex

* get rid of additional matched strings
2020-06-11 00:20:37 +02:00
Pablo Aguiar
6975d30818
#960: Improve pacman_invalid_option rule (#1072)
The rule now matches all possible lower case options and only those, not
failing for those that cannot be fixed.
2020-04-06 21:46:40 +02:00
DragonGhost7
3c542a5b8c
Added pacman invalid option rule (#960)
* Added pacman invalid option rule

* Added test

* flake8 fixes

* Test changes

* Test fix

* Typo - again

* Travis test fix

* More Travis

* Even more travis

* I hope im right here

* Update README.md

Co-Authored-By: Pablo Aguiar <scorphus@gmail.com>

* Update thefuck/rules/pacman_invalid_option.py

Co-Authored-By: Pablo Aguiar <scorphus@gmail.com>

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
2020-03-28 23:15:20 +01:00
Vladimir Iakovlev
d3a05426de Bump to 3.30 3.30 2020-03-19 18:21:12 +01:00
Caplinja
88db57b4b1 #N/A: Add a new rule to create directory on cp or mv 2020-03-01 13:04:53 -06:00
Caplinja
444908ce1c #1047: Fix pip_unknown_command by using a less restrictive regex
Fix #1047
2020-03-01 10:40:49 -06:00
David Hart
2ced7a7f33 Allow multiple returns from git_checkout (#1022)
* Allow multiple returns from git_checkout

* Remove multiple returns
2020-01-13 23:28:20 +01:00
David Hart
b28ece0f34 Apt-get help is now much more like apt (#1031)
* Apt-get help is now much more like apt

* Fix tests

* Really fix the tests
2020-01-05 23:53:09 +01:00
Vladimir Iakovlev
eb60900330
#N/A: Unlink python 2 on travis-ci osx build (#1032) 2020-01-05 23:51:19 +01:00
donniebreve
ed8aaa7f26 fixed grammar on how to configure message (#1029) 2019-12-23 17:57:42 +01:00
Tim Gates
77992029b6 Fix simple typo: controle -> control (#1017) 2019-12-16 22:10:45 +01:00
Eli Schiff
25c858c13e removed useless redefined of path variable (#1023) 2019-12-16 21:56:12 +01:00