Skip to content

Commit

Permalink
Lint files
Browse files Browse the repository at this point in the history
When trying to update the used linter versions in the pre-commit
configuarion file, I found out that some of the files are not
properly linted.

Signed-off-by: Dominik Gedon <[email protected]>
  • Loading branch information
nodeg authored and nichtmax committed Feb 6, 2024
1 parent a0359af commit e698091
Show file tree
Hide file tree
Showing 19 changed files with 201 additions and 206 deletions.
258 changes: 129 additions & 129 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,129 +1,129 @@
# macOS
.DS_Store
.Thumbs.db

# ansible
*.retry

# Sphinx
build
*.doctree
*.doctrees

# CI
.sshkey

### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
.pytest_cache/
nosetests.xml
coverage.xml
*.cover
.hypothesis/

# Translations
*.mo
*.pot

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule.*

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
Scripts/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

### PhpStorm ###
.idea/

# End of https://www.gitignore.io/api/python

.vscode/settings.json

# from spelling_tools.py
new_words.txt
source/sorted_dict.txt

#Netbeans Projectfolder
/nbproject
# macOS
.DS_Store
.Thumbs.db

# ansible
*.retry

# Sphinx
build
*.doctree
*.doctrees

# CI
.sshkey

### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
.pytest_cache/
nosetests.xml
coverage.xml
*.cover
.hypothesis/

# Translations
*.mo
*.pot

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule.*

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
Scripts/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

### PhpStorm ###
.idea/

# End of https://www.gitignore.io/api/python

.vscode/settings.json

# from spelling_tools.py
new_words.txt
source/sorted_dict.txt

#Netbeans Projectfolder
/nbproject
2 changes: 1 addition & 1 deletion source/guide_bookstack.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ To update BookStack you can run the following command in the root directory of t
[isabell@stardust BookStack]$ composer install --no-dev
[…]
[isabell@stardust BookStack]$
Next, start the actual migration. You will be asked to migrate files after installation in a production environment, default option is "no". However, some updates need to migrate files (i.E. v22.10.2), so you have to answer with "yes" at the end.

.. code-block:: console
Expand Down
4 changes: 2 additions & 2 deletions source/guide_eturnal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ Then, create a new file at ``~/eturnal/etc/eturnal.yml`` and replace values in b
relay_min_port: <port-3>
relay_max_port: <port-5>
blacklist:
blacklist:
- "127.0.0.0/8"
- "::1"
log_level: error
log_rotate_size: 10485760
log_rotate_count: 10
log_dir: stdout
Find other configuration options in the `reference documentation`_. You can now `first start`_ eturnal as daemon and check it's startup by invoking:

.. code-block:: console
Expand Down
2 changes: 1 addition & 1 deletion source/guide_freshrss.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ You can setup your FreshRSS installation using FreshRSS's command line interface

[isabell@stardust ~]$ cd /var/www/virtual/$USER/
[isabell@stardust isabell]$ cd FreshRSS-latest
[isabell@stardust FreshRSS-latest]$ ./cli/do-install.php --default_user <yourfreshrssusername> --base_url https://isabell.uber.space --title FreshRSS --api_enabled --db-type mysql --db-host localhost:3306 --db-user ${USER} --db-password '<yourmysqlpassword>' --db-base ${USER}_freshrss
[isabell@stardust FreshRSS-latest]$ ./cli/do-install.php --default_user <yourfreshrssusername> --base_url https://isabell.uber.space --title FreshRSS --api_enabled --db-type mysql --db-host localhost:3306 --db-user ${USER} --db-password '<yourmysqlpassword>' --db-base ${USER}_freshrss
FreshRSS install…
ℹ️ Remember to create the default user: isabell ./cli/create-user.php --user isabell --password 'password' --more-options
ℹ️ Remember to re-apply the appropriate access rights, such as: sudo chown -R :www-data . && sudo chmod -R g+r . && sudo chmod -R g+w ./data/
Expand Down
2 changes: 1 addition & 1 deletion source/guide_gitea.rst
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ This requires a dedicated extra port, that we need to open first as described in
[isabell@stardust ~]$ uberspace port add
Port 12345 will be open for TCP and UDP traffic in a few minutes.
[isabell@stardust ~]$
[isabell@stardust ~]$
Add this port number along with the following lines to your ``~/gitea/custom/conf/app.ini`` in the ``[server]`` section at the beginning:

Expand Down
2 changes: 1 addition & 1 deletion source/guide_goatcounter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Goatcounter

.. tag_list::

Goatcounter_ is an open source web analytics platform available as a free, donation-supported hosted service or self-hosted app.
Goatcounter_ is an open source web analytics platform available as a free, donation-supported hosted service or self-hosted app.

It aims to offer easy to use and meaningful privacy-friendly web analytics as an alternative to Google Analytics or Matomo.

Expand Down
16 changes: 8 additions & 8 deletions source/guide_gotify.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Like a lot of Go software, gotify is distributed as a single binary. Since versi
.. warning::

The ``yarn build`` command may fail at first with an ``code: 'EPIPE', syscall: 'write'`` error message.
Just run it again until you get ``Done in 60.48s.``.
Just run it again until you get ``Done in 60.48s.``.

::

Expand All @@ -84,23 +84,23 @@ Like a lot of Go software, gotify is distributed as a single binary. Since versi
npx browserslist@latest --update-db
Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Compiled successfully.

File sizes after gzip:

252.57 KB build/static/js/2.62492a59.chunk.js
15.19 KB build/static/js/main.d0066ad9.chunk.js
2.4 KB build/static/css/2.0f3898ba.chunk.css
778 B build/static/js/runtime-main.2e858444.js

The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.

Find out more about deployment here:

https://cra.link/deployment

Done in 59.93s.
[isabell@stardust ui]$ cd ..
[isabell@stardust server]$ go run hack/packr/packr.go
Expand Down
3 changes: 1 addition & 2 deletions source/guide_gotosocial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Copy the example configuration file via ``cp ./example/config.yaml .`` and edit

.. code-block:: yaml
:emphasize-lines: 1-6
host: "isabell.uber.space"
protocol: "https"
port: 8080
Expand Down Expand Up @@ -190,4 +190,3 @@ Tested with GoToSocial 0.8.1, Uberspace 7.15.1
.. _installation: #Installation

.. author_list::

4 changes: 2 additions & 2 deletions source/guide_homeassistant.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Just run the following command in the created `homeassistant` directory with act
(homeassistant) [isabell@stardust homeassistant]$ hass
Unable to find configuration. Creating default one in /home/isabell/.homeassistant
^C
[isabell@stardust homeassistant]$
[isabell@stardust homeassistant]$
A directory containing config files is created at /home/isabell/.homeassistant.
You can now terminate the homeassistant using Ctrl-C.
Expand All @@ -102,7 +102,7 @@ Use an editor such as ``nano`` to edit Home Assistant's configuration file:
Add the following lines at the bottom of the file. Modify ``external_url`` to reflect your domain.

.. code-block:: yaml
homeassistant:
name: Home
unit_system: metric
Expand Down
Loading

0 comments on commit e698091

Please sign in to comment.