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
Vladimir Iakovlev
60073bea78
N/A: Remove deprecated python 3.4 support + fix tests in 2.7 ( #1025 )
...
* N/A: Remove deprecated python 3.4 support
More details - https://www.python.org/downloads/release/python-3410/
* N/A: Remove Python 3.4 from appveyor config
* N/A: Fix UnicodeDecodeError with Python 2.7 and newer versions of py.test
2019-12-16 21:55:19 +01:00
Philip Arola
d10fc80fa5
Add choco_install rule ( #998 )
...
* Add choco_install rule
Adds a rule to append '.install' to a chocolatey install command that
failed because of a non-existent package.
TODO: add support for other suffixes (.portable), find more parameter
cases
* Apply suggestions from code review
Circling back to retest
Co-Authored-By: Pablo Aguiar <scorphus@gmail.com>
* Fixed errors from suggested changes
* Added more test cases, refactored parsing
* Reformat keyword detection if statement
* Fixed flake errors
* Added tests for match
2019-11-07 01:10:00 +01:00
boonwj
fdea32b47d
Fix typos in README.md ( #997 )
...
* Fix typos in README.md
* Fix another typo
- lifecycle to life cycle
2019-11-02 19:07:32 +01:00
Simon Chan
9381cfefa5
fix: incorrect powershell alias instruction ( #1004 )
...
* fix: incorrect powershell alias instruction
* fix: use dot operator to reload powershell profile
2019-11-02 19:06:17 +01:00
boonwj
793510ad48
Add rule to remove leading shell prompt literal $ ( #996 )
...
* Add rule to remove shell prompt literals $
Rule added to handle cases where the $ symbol is used in the command,
this usually happens when the command is copy pasted from a
documentation that includes the shell prompt symbol in the code blocks.
* Change files using black and flake8 style check
* Refactor tests and rule
- Refactor test for cleaner test tables
- Removed unnecessary requires_output=True option
2019-11-02 19:04:47 +01:00
Pablo Aguiar
d85099b8da
#N/A: Inform the correct path to DEFAULT_RULES
( #993 )
2019-11-02 19:03:58 +01:00
Pablo Aguiar
ecee70f774
#N/A: Use Xenial on TravisCI ( #989 )
...
This simplifies and reduces the size of `.travis.yml`.
2019-11-02 19:03:35 +01:00
Shawn McGraw
70b414aca2
Issue#965 - added venv instructions to CONTRIBUTING.md ( #976 )
...
* Issue#965 - added venv instructions to CONTRIBUTING.md
* Added link to official docs for venv [issue965]
2019-10-23 00:30:55 +02:00