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

1671 Commits

Author SHA1 Message Date
Luca De Nobili
1e9339c887
Merge dfce29bb814dadd0bbc1e030678d8c97b93a0a24 into c7e7e1d884d3bb241ea6448f72a989434c2a35ec 2024-06-27 15:50:50 +00:00
luca-denobili
dfce29bb81 downgrade README.md 2024-06-27 17:50:43 +02:00
luca-denobili
a4b0f44755 update NLOC information 2024-06-27 16:58:17 +02:00
luca-denobili
35c257fe29 add NLOC image 2024-06-27 16:58:02 +02:00
luca-denobili
ef6d5c3816 fix typo in function 1 name 2024-06-27 16:34:43 +02:00
luca-denobili
2fc036b8c5 fix typo in function 2 name 2024-06-27 16:33:29 +02:00
luca-denobili
39731f745e fix link to broken image file 2024-06-27 16:24:17 +02:00
luca-denobili
6aaba1a35d Merge branch 'luca' of https://github.com/dimalarcon/SEP2024-Group82-thefuck into luca 2024-06-27 16:23:54 +02:00
luca-denobili
f90258991a rename broken image file 2024-06-27 16:23:41 +02:00
Luca De Nobili
954daa53be
fix image link for final branch coverage function 1
Problem with reading correct image file
2024-06-27 16:19:31 +02:00
luca-denobili
2df4bd5cfa add function 2 coverage information 2024-06-27 16:14:14 +02:00
luca-denobili
507d8f5bf7 add images for function 2 2024-06-27 16:09:59 +02:00
luca-denobili
4a9514774a implement coverage tool for function 2 2024-06-27 15:55:44 +02:00
luca-denobili
90eeb9c8f6 improve coverage of function 2 2024-06-27 15:55:31 +02:00
luca-denobili
e7c59672fd add image for function 1 2024-06-27 15:19:26 +02:00
luca-denobili
d70d9fa353 fix image links 2024-06-27 15:16:41 +02:00
luca-denobili
e6485c1472 implement branch coverage tool for function 1 2024-06-27 15:10:58 +02:00
luca-denobili
29b17b5517 improve function 1 test coverage 2024-06-27 15:10:42 +02:00
luca-denobili
95bd09f5b9 add images for first function 2024-06-27 15:10:30 +02:00
luca-denobili
4927882bc2 add first function coverage improvement 2024-06-27 15:10:12 +02:00
Alan Gabbianelli
c7e7e1d884 Fix typos in README.md 2024-01-25 20:52:35 +01:00
Pablo Santiago Blum de Aguiar
62e0767c50 #N/A: Fix a couple of issues after new flake8 release 2023-07-30 22:22:37 +02:00
Gerardo Grignoli
3cd187a3bb
#1329: Add support for Windows CMD and easier setup for Powershell
* feat: Added nicer support for Windows CMD & Powershell

* Fix  typo

* Fix CMD console color after thefuck Ctrl-C

* Update setup.py

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

* Update setup.py

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

* Addressed PR comments

* fix spacing and newline issues

---------

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
2023-07-10 15:09:27 +02:00
Pablo Santiago Blum de Aguiar
0420442e77 #1248: Use imp only when importlib.util not available
The imp module is deprecated and will be removed in Python 12.
2023-07-10 14:43:45 +02:00
Pablo Santiago Blum de Aguiar
617aaa1fd0 #1248: Skip a failing test when running on Windows 2023-07-10 14:40:45 +02:00
Pablo Santiago Blum de Aguiar
cf0921be4a #1248: Check for multiple patterns in functional tests 2023-07-10 14:39:58 +02:00
Pablo Santiago Blum de Aguiar
ef1ea4b4dd #1248: Check container status before test functions 2023-07-10 14:36:42 +02:00
Pablo Santiago Blum de Aguiar
2cadcca904 #1248: Reuse Docker images in functional tests 2023-07-10 14:34:46 +02:00
Pablo Santiago Blum de Aguiar
d81929f294 #1248: Move deprecated Python versions to separate workflow job 2023-07-10 14:22:23 +02:00
Pablo Santiago Blum de Aguiar
b03e0913d3 #1248: Run workflows on push and pull_request 2023-07-10 14:20:40 +02:00
Hugo van Kemenade
b79e104df8 Add support for Python 3.11 2023-07-09 13:03:32 +02:00
Hugo van Kemenade
3f71959b1b Add python_requires to help pip 2023-07-09 13:03:32 +02:00
Hugo van Kemenade
51b82c5377 Update min Python 3 version required in README 2023-07-09 13:03:32 +02:00
Hugo van Kemenade
5f562a185c Drop the dot https://twitter.com/pytestdotorg/status/753767547866972160 2023-07-09 13:03:27 +02:00
Hugo van Kemenade
1a242c7daa Test on Python 3.10 final 2023-07-09 13:01:48 +02:00
josepdaniel
ceeaeab94b
Add terraform 'no command' rule (#1317)
* Add terraform 'no command' rule

* Feedback from PR

Co-authored-by: Joseph Daniel <jdn@logpoint.com>
2022-09-25 21:37:47 +02:00
Pablo Aguiar
77627a3140
#N/A: Define branches in workflow (#1328) 2022-09-07 21:33:40 +02:00
Pablo Santiago Blum de Aguiar
03a032295d #N/A: Change workflow triggers 2022-08-31 22:36:44 +02:00
Dan
56c16b737f
Added Arch based installation (#1319)
Co-authored-by: Dan <dan@arch.localdomain>
2022-08-31 20:42:41 +02:00
Miguel Guthridge
f9768cf929
#1302: Add new git_clone_missing rule
* Add git clone missing rule

* Clean up tests and improve matching

* Make rules behave correctly?

* Improve tests and redo matcher

* Remove unnecessary tests

* Improvements as per code review

* Remove dead tests

* Improve match function for git clone missing

* Improve tests

* Fix more tests

* Fix failing test

* Add Macos's /bin/sh command output to match

* Add output for lines uncovered by tests

Co-authored-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>
2022-07-03 13:22:36 +02:00
Peter
ed40463105
#1299: Update output for brew_install and cleanup (#1316)
* fix: Update output for brew_install test: fixed

* chore: fixing flake8 styles

* feat: show more suggestions

* test: new functions added and multi suggestions

* refactor: rename to _get_suggestions
2022-07-02 15:06:00 +02:00
Peter
f1b7d879bd
#1290: Update output for brew_update_formula
* fix: brew_update_formula change output string

* fix: regex removed, test: backtick added

* Update tests/rules/test_brew_update_formula.py

* Update thefuck/rules/brew_update_formula.py

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
2022-06-28 18:28:38 +02:00
Nikos Kakonas
5198b34f24
#1282: Keep quotes in the script on no_command rule
Co-authored-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>
2022-06-13 23:29:15 +02:00
Pablo Santiago Blum de Aguiar
1a1b5200a9 #N/A: Lock pyte<=0.8.0 for Python 2 2022-06-08 23:39:19 +02:00
0xphk
06cb50b1e3
#1308: Add updatedb (mlocate) pattern to sudo rule
* added updatedb(mlocate) to sudo rules

* Add test

Co-authored-by: phk <phk@terminal21.de>
Co-authored-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>
2022-06-05 22:58:31 +02:00
Oļegs Čapligins
16eb823066
#1261: Add two more patterns to sudo rule (#1307)
* macos shutdown sudo fix

* Update tests/rules/test_sudo.py

* Update thefuck/rules/sudo.py

* Update tests/rules/test_sudo.py

* Update thefuck/rules/sudo.py

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
2022-05-29 21:40:31 +02:00
Tagada
d8ddf5a2be
#1279: Add pikaur AUR manager to Arch Linux's commands
* Add pikaur AUR manager to Arch Linux's commands

* Update README.md

* Update test_pacman_not_found.py

* Update pacman_not_found.py

* Update README.md

Co-authored-by: Pablo Aguiar <scorphus@gmail.com>
2022-03-27 22:06:40 +02:00
Marek Šuppa
cf1beb6b89 fix: Add missing comma
* Add missing comma in a test
2022-01-30 22:34:38 +01:00
Anupam Patil
925e562d96 Updated license date to 2022 2022-01-20 22:01:21 +01:00
Pablo Santiago Blum de Aguiar
841e3f9e13 Bump to 3.32 3.32 2022-01-02 22:45:09 +01:00