Remove more ambiguous unicode characters.

This commit is contained in:
cyteen 2024-07-30 11:18:49 +01:00
parent 280be84407
commit 410af8fcbf
5 changed files with 47 additions and 51 deletions

View File

@ -76,7 +76,7 @@ USE_SERVER=
sed -i "s,^\(SERVER=\).*,\1\"${SERVER}\"," /etc/default/dmucs sed -i "s,^\(SERVER=\).*,\1\"${SERVER}\"," /etc/default/dmucs
sed -i "s,^\(USE_SERVER=\).*,\1\"${USE_SERVER}\"," /etc/default/dmucs sed -i "s,^\(USE_SERVER=\).*,\1\"${USE_SERVER}\"," /etc/default/dmucs
# Create a hosts-info file in the location /usr/local/share/dmucs/hosts-info (or, if you specified -prefix when configureing, in <prefix>/share/dmucs/hosts-info). # Create a hosts-info file in the location '/usr/local/share/dmucs/hosts-info' (or, if you specified -prefix when 'configure'ing, in <prefix>/share/dmucs/hosts-info).
#Here is a sample hosts-info file: #Here is a sample hosts-info file:
# Format: machine number-of-cpus power-index # Format: machine number-of-cpus power-index

View File

@ -77,7 +77,7 @@ USE_SERVER=
sed -i "s,^\(SERVER=\).*,\1\"${SERVER}\"," /etc/default/dmucs sed -i "s,^\(SERVER=\).*,\1\"${SERVER}\"," /etc/default/dmucs
sed -i "s,^\(USE_SERVER=\).*,\1\"${USE_SERVER}\"," /etc/default/dmucs sed -i "s,^\(USE_SERVER=\).*,\1\"${USE_SERVER}\"," /etc/default/dmucs
# Create a hosts-info file in the location /usr/local/share/dmucs/hosts-info (or, if you specified -prefix when configureing, in <prefix>/share/dmucs/hosts-info). # Create a hosts-info file in the location '/usr/local/share/dmucs/hosts-info' (or, if you specified -prefix when 'configure'ing, in <prefix>/share/dmucs/hosts-info).
#Here is a sample hosts-info file: #Here is a sample hosts-info file:
# Format: machine number-of-cpus power-index # Format: machine number-of-cpus power-index
@ -95,7 +95,3 @@ cat > /etc/dmuc.conf <<EOF
# Format: machine number-of-cpus power-index # Format: machine number-of-cpus power-index
EOF EOF

View File

@ -39,7 +39,7 @@ cat <<-EOF | sudo tee doc-pak/README >/dev/null
pycodestyle pycodestyle
pycodestyle is a simple tool to warn about violations of the PEP8 style guide. It produces messages for any divergence from the style guide. pycodestyle is a simple tool to warn about violations of the PEP8 style guide. It produces messages for any divergence from the style guide.
Prospectors concept of strictness turns off various warnings depending on the strictness level. By default, several PEP8 errors will be suppressed. To adjust this without adjusting the strictness of other tools, you have some options: Prospector's concept of strictness turns off various warnings depending on the strictness level. By default, several PEP8 errors will be suppressed. To adjust this without adjusting the strictness of other tools, you have some options:
# turn off pep8 checking completely: # turn off pep8 checking completely:
prospector --no-style-warnings prospector --no-style-warnings
@ -58,12 +58,12 @@ cat <<-EOF | sudo tee doc-pak/README >/dev/null
McCabe or cyclomatic complexity is a measurement of how many paths there are in a given function or method. It measures how complicated your functions are, and warns if they reach a certain threshold. Methods that are too complex are prone to logic errors, and should be refactored to a series of smaller methods. McCabe or cyclomatic complexity is a measurement of how many paths there are in a given function or method. It measures how complicated your functions are, and warns if they reach a certain threshold. Methods that are too complex are prone to logic errors, and should be refactored to a series of smaller methods.
Dodgy Dodgy
Dodgy is a very simple tool designed to find dodgy things which should not be in a public project, such as secret keys, passwords, AWS tokens or source control diffs. Dodgy is a very simple tool designed to find 'dodgy' things which should not be in a public project, such as secret keys, passwords, AWS tokens or source control diffs.
Pydocstyle Pydocstyle
Pydocstyle is a simple tool to warn about violations of the PEP257 Docstring Conventions. It produces messages for any divergence from the style guide. Pydocstyle is a simple tool to warn about violations of the PEP257 Docstring Conventions. It produces messages for any divergence from the style guide.
This tool is currently considered experimental due to some bugs in its ability to parse code. For example, modules that contain an __all__ could end up producing bogus error messages if the __all__ isnt formatted exactly as pydocstyle expects it. This tool is currently considered experimental due to some bugs in its ability to parse code. For example, modules that contain an __all__ could end up producing bogus error messages if the __all__ isn't formatted exactly as pydocstyle expects it.
It will not run by default, and must be enabled explicitly (via --with-tool pep257 or in a profile) or implicitly (using the --doc-warnings flag). It will not run by default, and must be enabled explicitly (via --with-tool pep257 or in a profile) or implicitly (using the --doc-warnings flag).

View File

@ -232,7 +232,7 @@ conf_print_chroot_d() {
description=${release} (${arch}) for devuan arm-sdk description=${release} (${arch}) for devuan arm-sdk
type=directory type=directory
directory=${strapdir} directory=${strapdir}
union-type=overlay # aufs, overlay and unionfs union-type=overlay # 'aufs', 'overlay' and 'unionfs'
command-prefix=eatmydata,ccache command-prefix=eatmydata,ccache
users=default users=default
source-users=default source-users=default

View File

@ -1,6 +1,6 @@
# Install zsh-async if its not present # Install zsh-async if it's not present
if [[ ! -a ~/.zsh-async ]]; then if [[ ! -a ~/.zsh-async ]]; then
git clone -b v1.5.2 git@github.com:mafredri/zsh-async ~/.zsh-async git clone -b 'v1.5.2' git@github.com:mafredri/zsh-async ~/.zsh-async
fi fi
source ~/.zsh-async/async.zsh source ~/.zsh-async/async.zsh