How to Install and Uninstall texlive-hook-pre-commit-pkg Package on openSUSE Leap

Last updated: November 08,2024

1. Install "texlive-hook-pre-commit-pkg" package

Please follow the guidance below to install texlive-hook-pre-commit-pkg on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install texlive-hook-pre-commit-pkg

2. Uninstall "texlive-hook-pre-commit-pkg" package

This guide let you learn how to uninstall texlive-hook-pre-commit-pkg on openSUSE Leap:

$ sudo zypper remove texlive-hook-pre-commit-pkg

3. Information about the texlive-hook-pre-commit-pkg package on openSUSE Leap

Information for package texlive-hook-pre-commit-pkg:
----------------------------------------------------
Repository : Main Repository
Name : texlive-hook-pre-commit-pkg
Version : 2021.189.1.1.2svn41378-150400.17.1
Arch : noarch
Vendor : SUSE LLC
Installed Size : 9.4 KiB
Installed : No
Status : not installed
Source package : texlive-specs-k-2021-150400.17.1.src
Upstream URL : http://www.tug.org/texlive/
Summary : Pre-commit git hook for LaTeX package developpers
Description :
This package provides a pre-commit git hook to check basic
LaTeX syntax for the use of package developers. It is installed
by copying it into the .git/.hooks file. It then checks the
following file types: .sty, .dtx, .bbx, .cbx, and .lbx. List of
performed checks: Each line must be terminated by a %, without
a space before it. Empty lines are allowed, but not lines with
nothing but spaces in them. \begin{macro} and \end{macro} must
be paired. \begin{macrocode} and \end{macrocode} must be
paired. \begin{macro} must have a second argument. One space
must be printed between % and \begin{macro} or \end{macro}. %
must be the first character in the line. Four spaces must be
printed between % and \begin{macrocode} or \end{macrocode}. \cs
argument must not start with a backslash.