Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
---
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
ci:
autofix_commit_msg: |
ci(pre-commit.ci): apply auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
autofix_prs: true
autoupdate_branch: ''
autoupdate_commit_msg: 'ci(pre-commit.ci): perform pre-commit autoupdate'
autoupdate_schedule: weekly
skip: []
submodules: false
default_stages: [commit]
repos:
- repo: https://github.com/dafyddj/commitlint-pre-commit-hook
Expand Down Expand Up @@ -63,3 +74,8 @@ repos:
docs/TOFS_pattern.rst|
)$
additional_dependencies: [pygments==2.9.0]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
1 change: 0 additions & 1 deletion docs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,3 @@ Runs all of the stages above in one go: i.e. ``destroy`` + ``converge`` + ``veri
^^^^^^^^^^^^^^^^^^^^^

Gives you SSH access to the instance for manual testing.

1 change: 0 additions & 1 deletion nut/files/default/upsd-conf.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,3 @@ CERTIDENT {{ nut.server.upsd.config.cert_ident }}
{%- if nut.server.upsd.config.cert_request is defined %}
CERTREQUEST {{ nut.server.upsd.config.cert_request }}
{%- endif %}

8 changes: 4 additions & 4 deletions nut/files/default/upsd-users.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
#
# --------------------------------------------------------------------------
#
# actions: Let the user do certain things with upsd.
#
# actions: Let the user do certain things with upsd.
#
# Valid actions are:
#
# SET - change the value of certain variables in the UPS
# FSD - set the "forced shutdown" flag in the UPS
#
#
# --------------------------------------------------------------------------
#
# instcmds: Let the user initiate specific instant commands. Use "ALL"
# to grant all commands automatically. There are many possible
# to grant all commands automatically. There are many possible
# commands, so use 'upscmd -l' to see what your hardware supports. Here
# are a few examples:
#
Expand Down
1 change: 0 additions & 1 deletion nut/files/default/upsmon-conf.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -465,4 +465,3 @@ CERTVERIFY {{ nut.client.upsmon.config.certverify }}
{%- if nut.client.upsmon.config.forcessl is defined %}
FORCESSL {{ nut.client.upsmon.config.forcessl }}
{%- endif %}