[Docs] Default formatprograms - Deprecated installation methodologies: autopep8, gofumpt and shfmt
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Domain
- documentation
Research direction
Locate the documentation entries for autopep8, gofumpt, and shfmt, then compare each installation instruction with the versions and commands described in the issue. Check the surrounding formatprograms documentation for consistent wording; done means the deprecated link and Go installation methods are updated and the rendered documentation is correct.
Written by the indexing model from the issue text.
Description
autopep8
The PyPI link that is referenced for the installation of autopep8 as a Python package through pip3 install points to a deprecated version:
pip install autopep8==0.5.2
and this is flagged as "Released: Mar 12, 2012". The same PyPI link also advises: Newer version available (2.0.2) and this points to the rolling update of autopep8 on its PyPI Project Page.
I am recommending editing the documentation so that the existing PyPI link is amended to: https://pypi.org/project/autopep8/
gofumpt
The Golang CLI installation methodology for gofumpt:
go install mvdan.cc/gofumpt latest
throws back the the error:
go: 'go install' requires a version when current directory is not in a module
Try 'go install mvdan.cc/gofumpt@latest latest@latest' to install the latest version
I am recommending editing the documentation so that the existing go install mvdan.cc/gofumpt latest is amended to:
go install mvdan.cc/gofumpt@latest
shfmt
The Golang CLI installation methodology for shfmt:
go get -u mvdan.cc/sh/cmd/shfmt
is flagged as deprecated:
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
I am recommending editing the documentation so that the existing go get -u mvdan.cc/sh/cmd/shfmt is amended to be in sync with the methodology that is specified on the shfmt project's GitHub Repository:
go install mvdan.cc/sh/v3/cmd/shfmt@latest
Gracias y Saludos Cordiales,
Arnold Mashava.
- Dominant language
- Vim Script
- Stars
- 2.3k
- Forks
- 178
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vim-autoformat/vim-autoformat
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
vim-autoformat/vim-autoformat#393 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
vim-autoformat/vim-autoformat#388 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
vim-autoformat/vim-autoformat#383 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
vim-autoformat/vim-autoformat#382 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
vim-autoformat/vim-autoformat#361 · 1 comment ·
All issues in vim-autoformat/vim-autoformat
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
inu-appcenter/memorIN-frontend#106 ·
Maintainers usually reply within 1 day
-
workflow: a tick's dispatch counts as 'only this step', and no review self-grants a round unattendedOpenworkflow
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
kristofdegrave/homeassistant-smart-charging#1505 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
openfoodfacts/score-my-recipe#80 ·
Maintainers usually reply within 2 days
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 92/100
githubnext/gh-aw-workshop#3968 ·
Maintainers usually reply within 1 day