How To Install python3-pydocstyle on Fedora 36

In this tutorial we learn how to install python3-pydocstyle in Fedora 36. python3-pydocstyle is Python docstring style checker

Introduction

In this tutorial we learn how to install python3-pydocstyle on Fedora 36.

What is python3-pydocstyle

A static analysis tool for checking compliance with Python docstring conventions. It supports most of PEP 257 out of the box, but it should not be considered a reference implementation.

We can use yum or dnf to install python3-pydocstyle on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pydocstyle.

Install python3-pydocstyle on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-pydocstyle using dnf by running the following command:

sudo dnf -y install python3-pydocstyle

Install python3-pydocstyle on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-pydocstyle using yum by running the following command:

sudo yum -y install python3-pydocstyle

How To Uninstall python3-pydocstyle on Fedora 36

To uninstall only the python3-pydocstyle package we can use the following command:

sudo dnf remove python3-pydocstyle

python3-pydocstyle Package Contents on Fedora 36

/usr/bin/pydocstyle
/usr/lib/python3.10/site-packages/pydocstyle
/usr/lib/python3.10/site-packages/pydocstyle-6.0.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/pydocstyle-6.0.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/pydocstyle-6.0.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/pydocstyle-6.0.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/pydocstyle-6.0.0-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/pydocstyle-6.0.0-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/pydocstyle-6.0.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/pydocstyle/__init__.py
/usr/lib/python3.10/site-packages/pydocstyle/__main__.py
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/__main__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/__main__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/checker.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/checker.cpython-310.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/cli.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/cli.cpython-310.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/config.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/config.cpython-310.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/violations.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/violations.cpython-310.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/wordlists.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pydocstyle/__pycache__/wordlists.cpython-310.pyc
/usr/lib/python3.10/site-packages/pydocstyle/checker.py
/usr/lib/python3.10/site-packages/pydocstyle/cli.py
/usr/lib/python3.10/site-packages/pydocstyle/config.py
/usr/lib/python3.10/site-packages/pydocstyle/data
/usr/lib/python3.10/site-packages/pydocstyle/data/imperatives.txt
/usr/lib/python3.10/site-packages/pydocstyle/data/imperatives_blacklist.txt
/usr/lib/python3.10/site-packages/pydocstyle/parser.py
/usr/lib/python3.10/site-packages/pydocstyle/utils.py
/usr/lib/python3.10/site-packages/pydocstyle/violations.py
/usr/lib/python3.10/site-packages/pydocstyle/wordlists.py
/usr/share/doc/python3-pydocstyle
/usr/share/doc/python3-pydocstyle/README.rst
/usr/share/licenses/python3-pydocstyle
/usr/share/licenses/python3-pydocstyle/LICENSE-MIT

References

Summary

In this tutorial we learn how to install python3-pydocstyle on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).