From cae6730ea87da18bd6ebfeaf3e1e9cd354390939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 7 Oct 2020 13:45:49 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20EOF/trailing=20whitespace/TOML&Y?= =?UTF-8?q?AML=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit And armed and documented pre-commit --- .git-blame-ignore-revs | 9 ++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 6 ++--- .github/PULL_REQUEST_TEMPLATE.md | 8 +++---- .pre-commit-config.yaml | 23 +++++++++++++++++++ .tx/config | 1 - CONTRIBUTING.md | 19 +++++++++------ SECURITY.md | 2 +- SUPPORTERS.md | 2 +- docs/development/environment.rst | 14 +++++++++-- setup.cfg | 1 - .../plugins/appkeys/templates/appkeys.jinja2 | 1 - .../discovery/templates/discovery.xml.jinja2 | 2 +- .../gcodeviewer/static/js/viewer/renderer.js | 10 ++++---- .../pi_support/static/clientjs/pi_support.js | 1 - .../templates/pi_support_about_octopi.jinja2 | 1 - .../templates/pi_support_settings.jinja2 | 2 -- .../templates/pluginmanager_settings.jinja2 | 1 - .../static/less/softwareupdate.less | 1 - .../templates/softwareupdate_settings.jinja2 | 1 - .../static/js/app/bindings/copywidth.js | 1 - .../static/js/app/bindings/toggle.js | 1 - .../static/js/app/bindings/valuewithinit.js | 2 +- .../static/js/app/viewmodels/terminal.js | 2 +- .../static/less/bootstrap/close.less | 2 +- src/octoprint/static/less/bootstrap/code.less | 2 +- .../static/less/bootstrap/layouts.less | 2 +- .../static/less/bootstrap/pager.less | 2 +- .../less/bootstrap/responsive-navbar.less | 4 ++-- src/octoprint/static/less/mixins.less | 2 +- src/octoprint/templates/i18n.js.jinja2 | 2 +- .../templates/tabs/temperature.jinja2 | 1 - .../translations/de/LC_MESSAGES/messages.po | 1 - tests/cypress/fixtures/example.json | 2 +- tests/cypress/integration/upload.js | 2 +- tests/filemanager/_files/bp_case.gcode | 1 - tests/settings/_files/config.yaml | 1 - tests/util/_files/utf8_with_bom.txt | 2 +- tests/util/_files/utf8_without_bom.txt | 2 +- 38 files changed, 85 insertions(+), 54 deletions(-) create mode 100644 .pre-commit-config.yaml diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 9f4e0c877..d54fa1fb8 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -1 +1,10 @@ # refs to ignore during git blame, use with --ignore-revs-file + +# Change dict constructors to literals +#af60fd642832736966104ae71d852d745397c749 + +# Change set constructors to literals +#986312b6ae7eeadcaf620cc99d53b23794be83b6 + +# Switch to black formatting +1f93b2355a2816918e11a55e61b42010d15a6720 diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 7ee1a4b4c..0f76418a2 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -17,7 +17,7 @@ or request features within OctoPrint (not OctoPi, not any OctoPrint plugins and not unofficial OctoPrint versions). Do not seek support here ("I need help with ...", "I have a -question ..."), that belongs on the community forum at +question ..."), that belongs on the community forum at community.octoprint.org, NOT here. Mark requests with a "[Request]" prefix in the title please. For bug @@ -37,7 +37,7 @@ Thank you! #### What were you doing? - diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..9083197bb --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,23 @@ +exclude: ^(src/octoprint/vendor/|src/octoprint/static/js/lib|src/octoprint/static/vendor|tests/static/js/lib|docs/|scripts/|translations/|.*\.css|.*\.svg) +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.3.0 + hooks: + - id: end-of-file-fixer + - id: trailing-whitespace + - id: check-yaml + - id: check-toml + - repo: https://github.com/psf/black + rev: stable + hooks: + - id: black + args: ['--config', 'black.toml'] + language_version: python3.7 + - repo: https://github.com/pre-commit/mirrors-isort + rev: v5.5.4 + hooks: + - id: isort + - repo: https://gitlab.com/pycqa/flake8 + rev: 3.8.1 + hooks: + - id: flake8 diff --git a/.tx/config b/.tx/config index 33bd3437b..402bc41dd 100644 --- a/.tx/config +++ b/.tx/config @@ -5,4 +5,3 @@ host = https://www.transifex.com file_filter = translations//LC_MESSAGES/messages.po source_file = translations/messages.pot source_lang = en - diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 63aed2508..6f314c8e4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -325,8 +325,7 @@ and branching strategy. commits of your full virtual environment). Make sure your PR consists **ideally of only one commit** (use git's rebase and squash functionality). 7. Make sure you **follow the current coding style**. This means: - * Tabs instead of spaces in the Python files[2] - * Spaces instead of tabs in the JavaScript sources + * Spaces for indenting and alignment, indentation width 4. * English language (code, variables, comments, ...) * Comments where necessary: Tell *why* the code does something like it does it, structure your code @@ -347,6 +346,16 @@ and branching strategy. in the OctoPrint checkout folder. An [automatic build workflow](https://github.com/OctoPrint/OctoPrint/actions?query=workflow%3ABuild) is also setup so that if the tests should fail, your PR will be marked accordingly. +9. Run the **pre-commit check suite** against your changes. You can run that (after + [initial development environment setup with "develop" dependencies](https://docs.octoprint.org/en/master/development/environment.html)) + by running + + ``` + pre-commit run --all-files + ``` + + in the OctoPrint checkout folder. If you install the pre-commit hooks via + `pre-commit install` this will even be taken care of for you prior to committing. 9. **Test your changes thoroughly**. That also means testing with usage scenarios you don't normally use, e.g. if you only use access control, test without and vice versa. If you only test with your printer, test with the @@ -415,14 +424,10 @@ See [the corresponding chapter in the documentation](https://docs.octoprint.org/ new features, suggest getting in touch on the forum for larger changes * 2020-08-10: Update versioning scheme and PR instructions * 2020-09-23: Move branch & versioning into development docs + * 2020-10-07: Introduce `pre-commit` ## Footnotes * [1] - If you are wondering why, the problem is that anything that you add to your PR's branch will also become part of your PR, so if you create a PR from your version of `devel` chances are high you'll add changes to the PR that do not belong to the PR. - * [2] - Yes, we know that this goes against PEP-8. OctoPrint started out as - a fork of Cura and hence stuck to the coding style found therein. Changing - it now would make the history and especially `git blame` completely - unusable, so for now we'll have to deal with it (this decision might be - revisited in the future). diff --git a/SECURITY.md b/SECURITY.md index 8abfa9145..79b94cdd9 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,6 +6,6 @@ Always update to the latest version of OctoPrint to keep up with security patche ## Reporting a Vulnerability -Email to security@octoprint.org. +Email to security@octoprint.org. For the sake of the userbase of OctoPrint please always disclose responsibly and with a 90+ day window. diff --git a/SUPPORTERS.md b/SUPPORTERS.md index f48c48bc0..d236c5d17 100644 --- a/SUPPORTERS.md +++ b/SUPPORTERS.md @@ -62,4 +62,4 @@ thanks to everyone who contributed! * Sven Mueller * Ulrich Kempken -and 1943 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [Github Sponsors](https://github.com/users/foosel/sponsorship)! \ No newline at end of file +and 1943 more wonderful people pledging on the [Patreon campaign](https://patreon.com/foosel) or via [Github Sponsors](https://github.com/users/foosel/sponsorship)! diff --git a/docs/development/environment.rst b/docs/development/environment.rst index 1fee1e727..e8de5fc30 100644 --- a/docs/development/environment.rst +++ b/docs/development/environment.rst @@ -35,10 +35,11 @@ below. binaries cannot be found on your ``PATH`` like this you'll need to specify the full paths to them here, e.g. ``virtualenv --python=/path/to/python2/bin/python venv2`` - * Activate one of the virtual environments: + * Activate one of the virtual environments (the Python 3 venv should be considered the + primary one at this point): - * PY2: ``source venv2/bin/activate`` (Linux, macOS) or ``source venv2/Scripts/activate`` (Git Bash under Windows, see below) * PY3: ``source venv3/bin/activate`` (Linux, macOS) or ``source venv3/Scripts/activate`` (Git Bash under Windows, see below) + * PY2: ``source venv2/bin/activate`` (Linux, macOS) or ``source venv2/Scripts/activate`` (Git Bash under Windows, see below) * Update ``pip`` in the virtual environment: @@ -49,10 +50,16 @@ below. * ``pip install -e '.[develop,plugins]'`` + * Set up the pre-commit hooks that make sure any changes you do adhere to the styling rules: + + * ``pre-commit install`` + When the virtual environment is activated you can then: * run the OctoPrint server via ``octoprint serve`` * run the test suite from the checked out source folder via ``pytest`` + * trigger the pre-commit check suite manually from the checked out source folder via + ``pre-commit run --all-files`` To switch the activated virtual environment, simply activate the new environment as described above. @@ -106,6 +113,7 @@ Then: source ./venv3/bin/activate pip install --upgrade pip pip install -e .[develop,plugins,docs] + pre-commit install You can then start OctoPrint via ``octoprint`` after activating one of the two virtual environments. @@ -149,6 +157,7 @@ Open the Git Bash you just installed and in that: source ./venv3/Scripts/activate pip install --upgrade pip pip install -e .[develop,plugins,docs] + pre-commit install .. _sec-development-environment-mac: @@ -198,6 +207,7 @@ You'll need a user account with administrator privileges. source venv/bin/activate pip install --upgrade pip pip install -e .[develop,plugins] + pre-commit install .. _sec-development-environment-ides: diff --git a/setup.cfg b/setup.cfg index 7fbbbf532..c1b4d8ab2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,4 +38,3 @@ known_first_party = octoprint octoprint_setuptools octoprint_client - diff --git a/src/octoprint/plugins/appkeys/templates/appkeys.jinja2 b/src/octoprint/plugins/appkeys/templates/appkeys.jinja2 index 9c8c98be0..bf82e1953 100644 --- a/src/octoprint/plugins/appkeys/templates/appkeys.jinja2 +++ b/src/octoprint/plugins/appkeys/templates/appkeys.jinja2 @@ -36,4 +36,3 @@ - diff --git a/src/octoprint/plugins/discovery/templates/discovery.xml.jinja2 b/src/octoprint/plugins/discovery/templates/discovery.xml.jinja2 index 413c84f7a..f99dfee2f 100644 --- a/src/octoprint/plugins/discovery/templates/discovery.xml.jinja2 +++ b/src/octoprint/plugins/discovery/templates/discovery.xml.jinja2 @@ -19,4 +19,4 @@ {{ presentationUrl }} - \ No newline at end of file + diff --git a/src/octoprint/plugins/gcodeviewer/static/js/viewer/renderer.js b/src/octoprint/plugins/gcodeviewer/static/js/viewer/renderer.js index f4e480e1b..012fafcf9 100644 --- a/src/octoprint/plugins/gcodeviewer/static/js/viewer/renderer.js +++ b/src/octoprint/plugins/gcodeviewer/static/js/viewer/renderer.js @@ -84,7 +84,7 @@ GCODE.renderer = (function(){ viewportChanged = false; } } - + var reRender = function(){ if (!model) return; @@ -587,7 +587,7 @@ GCODE.renderer = (function(){ // alpha value (100% if current layer is being rendered, 30% otherwise) // Note - If showing currently layer as preview - also render it at 30% and draw the progress over the top at 100% var alpha = (renderOptions['showNextLayer'] || renderOptions['showCurrentLayer'] || renderOptions['showPreviousLayer']) && isNotCurrentLayer ? 0.3 : 1.0; - + var colorLine = {}; var colorMove = {}; var colorRetract = {}; @@ -726,7 +726,7 @@ GCODE.renderer = (function(){ prevX = x; prevY = y; } - + if (prevPathType != "fill") { ctx.stroke(); } @@ -863,7 +863,7 @@ GCODE.renderer = (function(){ ctx.translate(translationX, -translationY); ctx.scale(viewportRatio, viewportRatio); - + offsetModelX = 0; offsetModelY = 0; offsetBedX = 0; @@ -904,7 +904,7 @@ GCODE.renderer = (function(){ }, render: function(layerNum, fromProgress, toProgress){ if (!initialized) this.init(); - + layerNumStore = layerNum; progressStore.from = fromProgress; progressStore.to = toProgress; diff --git a/src/octoprint/plugins/pi_support/static/clientjs/pi_support.js b/src/octoprint/plugins/pi_support/static/clientjs/pi_support.js index 7c216aa0f..0b8491689 100644 --- a/src/octoprint/plugins/pi_support/static/clientjs/pi_support.js +++ b/src/octoprint/plugins/pi_support/static/clientjs/pi_support.js @@ -16,4 +16,3 @@ OctoPrintClient.registerPluginComponent("pi_support", OctoPrintPiSupportClient); return OctoPrintPiSupportClient; }); - diff --git a/src/octoprint/plugins/pi_support/templates/pi_support_about_octopi.jinja2 b/src/octoprint/plugins/pi_support/templates/pi_support_about_octopi.jinja2 index b3a43aaaa..5dcba4b65 100644 --- a/src/octoprint/plugins/pi_support/templates/pi_support_about_octopi.jinja2 +++ b/src/octoprint/plugins/pi_support/templates/pi_support_about_octopi.jinja2 @@ -29,4 +29,3 @@ For a copy of the GNU General Public License, see www.gnu.org/licenses/gpl-3.0.en.html.

- diff --git a/src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2 b/src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2 index a9e879380..a8abffcc0 100644 --- a/src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2 +++ b/src/octoprint/plugins/pi_support/templates/pi_support_settings.jinja2 @@ -27,5 +27,3 @@ - - diff --git a/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 b/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 index 6cf1d3915..b49c8239f 100644 --- a/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 +++ b/src/octoprint/plugins/pluginmanager/templates/pluginmanager_settings.jinja2 @@ -430,4 +430,3 @@ - diff --git a/src/octoprint/plugins/softwareupdate/static/less/softwareupdate.less b/src/octoprint/plugins/softwareupdate/static/less/softwareupdate.less index 3da4a36f6..2c4a5cd99 100644 --- a/src/octoprint/plugins/softwareupdate/static/less/softwareupdate.less +++ b/src/octoprint/plugins/softwareupdate/static/less/softwareupdate.less @@ -73,4 +73,3 @@ td.settings_plugin_softwareupdate_column_information { } } } - diff --git a/src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2 b/src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2 index c769aab1e..3f013e6a8 100644 --- a/src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2 +++ b/src/octoprint/plugins/softwareupdate/templates/softwareupdate_settings.jinja2 @@ -171,4 +171,3 @@ - diff --git a/src/octoprint/static/js/app/bindings/copywidth.js b/src/octoprint/static/js/app/bindings/copywidth.js index 6c0c9db6f..6e59be712 100644 --- a/src/octoprint/static/js/app/bindings/copywidth.js +++ b/src/octoprint/static/js/app/bindings/copywidth.js @@ -46,4 +46,3 @@ ko.bindingHandlers.copyWidth = { }); } }; - diff --git a/src/octoprint/static/js/app/bindings/toggle.js b/src/octoprint/static/js/app/bindings/toggle.js index 99f64b1a8..be285925f 100644 --- a/src/octoprint/static/js/app/bindings/toggle.js +++ b/src/octoprint/static/js/app/bindings/toggle.js @@ -21,4 +21,3 @@ ko.bindingHandlers.toggle = { ko.utils.toggleDomNodeCssClass(element, 'active', ko.utils.unwrapObservable(valueAccessor())); } }; - diff --git a/src/octoprint/static/js/app/bindings/valuewithinit.js b/src/octoprint/static/js/app/bindings/valuewithinit.js index dce558263..1444de8cc 100644 --- a/src/octoprint/static/js/app/bindings/valuewithinit.js +++ b/src/octoprint/static/js/app/bindings/valuewithinit.js @@ -8,4 +8,4 @@ ko.bindingHandlers.valueWithInit = { ko.bindingHandlers.value.init(element, valueAccessor, allBindingsAccessor, context); }, update: ko.bindingHandlers.value.update -}; \ No newline at end of file +}; diff --git a/src/octoprint/static/js/app/viewmodels/terminal.js b/src/octoprint/static/js/app/viewmodels/terminal.js index 1cbece6bc..04224bd6a 100644 --- a/src/octoprint/static/js/app/viewmodels/terminal.js +++ b/src/octoprint/static/js/app/viewmodels/terminal.js @@ -341,7 +341,7 @@ $(function() { self.clearAllLogs = function() { self.log([]); - self.plainLogLines([]); + self.plainLogLines([]); }; // command matching regex // (Example output for inputs G0, G1, G28.1, M117 test) diff --git a/src/octoprint/static/less/bootstrap/close.less b/src/octoprint/static/less/bootstrap/close.less index 4c626bda6..5c27c7e03 100644 --- a/src/octoprint/static/less/bootstrap/close.less +++ b/src/octoprint/static/less/bootstrap/close.less @@ -29,4 +29,4 @@ button.close { background: transparent; border: 0; -webkit-appearance: none; -} \ No newline at end of file +} diff --git a/src/octoprint/static/less/bootstrap/code.less b/src/octoprint/static/less/bootstrap/code.less index 266a926e7..6314c8981 100644 --- a/src/octoprint/static/less/bootstrap/code.less +++ b/src/octoprint/static/less/bootstrap/code.less @@ -58,4 +58,4 @@ pre { .pre-scrollable { max-height: 340px; overflow-y: scroll; -} \ No newline at end of file +} diff --git a/src/octoprint/static/less/bootstrap/layouts.less b/src/octoprint/static/less/bootstrap/layouts.less index 24a206211..ade5c7516 100644 --- a/src/octoprint/static/less/bootstrap/layouts.less +++ b/src/octoprint/static/less/bootstrap/layouts.less @@ -13,4 +13,4 @@ padding-right: @gridGutterWidth; padding-left: @gridGutterWidth; .clearfix(); -} \ No newline at end of file +} diff --git a/src/octoprint/static/less/bootstrap/pager.less b/src/octoprint/static/less/bootstrap/pager.less index 147618829..1d461cdb6 100644 --- a/src/octoprint/static/less/bootstrap/pager.less +++ b/src/octoprint/static/less/bootstrap/pager.less @@ -40,4 +40,4 @@ color: @grayLight; background-color: #fff; cursor: default; -} \ No newline at end of file +} diff --git a/src/octoprint/static/less/bootstrap/responsive-navbar.less b/src/octoprint/static/less/bootstrap/responsive-navbar.less index 21cd3ba67..39dee4545 100644 --- a/src/octoprint/static/less/bootstrap/responsive-navbar.less +++ b/src/octoprint/static/less/bootstrap/responsive-navbar.less @@ -116,8 +116,8 @@ .border-radius(0); .box-shadow(none); } - .nav-collapse .open > .dropdown-menu { - display: block; + .nav-collapse .open > .dropdown-menu { + display: block; } .nav-collapse .dropdown-menu:before, diff --git a/src/octoprint/static/less/mixins.less b/src/octoprint/static/less/mixins.less index 5ae83eaff..0ad82a8f8 100644 --- a/src/octoprint/static/less/mixins.less +++ b/src/octoprint/static/less/mixins.less @@ -11,4 +11,4 @@ background-repeat: repeat-x; filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down } -} \ No newline at end of file +} diff --git a/src/octoprint/templates/i18n.js.jinja2 b/src/octoprint/templates/i18n.js.jinja2 index b416d2a24..ab5605a40 100644 --- a/src/octoprint/templates/i18n.js.jinja2 +++ b/src/octoprint/templates/i18n.js.jinja2 @@ -1 +1 @@ -window.BABEL_TO_LOAD_{{ catalog.locale }} = {{ catalog | tojson | safe }}; \ No newline at end of file +window.BABEL_TO_LOAD_{{ catalog.locale }} = {{ catalog | tojson | safe }}; diff --git a/src/octoprint/templates/tabs/temperature.jinja2 b/src/octoprint/templates/tabs/temperature.jinja2 index 6f4946370..797b8d572 100644 --- a/src/octoprint/templates/tabs/temperature.jinja2 +++ b/src/octoprint/templates/tabs/temperature.jinja2 @@ -77,4 +77,3 @@ - diff --git a/src/octoprint/translations/de/LC_MESSAGES/messages.po b/src/octoprint/translations/de/LC_MESSAGES/messages.po index 9d610fb84..48da87fce 100644 --- a/src/octoprint/translations/de/LC_MESSAGES/messages.po +++ b/src/octoprint/translations/de/LC_MESSAGES/messages.po @@ -9252,4 +9252,3 @@ msgstr "Zeitrafferaufnahme rendern" #~ msgid "Autodetection timeout (further tries)" #~ msgstr "Autodetectiontimeout (weitere Versuche)" - diff --git a/tests/cypress/fixtures/example.json b/tests/cypress/fixtures/example.json index da18d9352..02e425437 100644 --- a/tests/cypress/fixtures/example.json +++ b/tests/cypress/fixtures/example.json @@ -2,4 +2,4 @@ "name": "Using fixtures to represent data", "email": "hello@cypress.io", "body": "Fixtures are a great way to mock data for responses to routes" -} \ No newline at end of file +} diff --git a/tests/cypress/integration/upload.js b/tests/cypress/integration/upload.js index 43d604d31..f9f9854fe 100644 --- a/tests/cypress/integration/upload.js +++ b/tests/cypress/integration/upload.js @@ -21,4 +21,4 @@ context('Upload tests', () => { cy.get('[data-test-id=files-list]') .contains("e2e-test.gcode"); }); -}); \ No newline at end of file +}); diff --git a/tests/filemanager/_files/bp_case.gcode b/tests/filemanager/_files/bp_case.gcode index 7f1edbd09..69696e587 100644 --- a/tests/filemanager/_files/bp_case.gcode +++ b/tests/filemanager/_files/bp_case.gcode @@ -56413,4 +56413,3 @@ G28 X0 Y0 ;move X/Y to min endstops, so the head is M84 ;steppers off G90 ;absolute positioning ;CURA_PROFILE_STRING:eNrtV0tv20YQvhJGf8QcUzRWl5RkOxF4SWr7EhcB7KKOL8SKHElbk1xiudQT+u+d3SUpSpbapAnQFogOtjg7MzuP75sRU75CFc1QTGc6ZD3fW/A0jfRMxM85liWJrjyFWvFYC5lHmPNxiuGDqtArZSqSKLUOugYX3kSQjwTzUuhV6DMvl+t1ilEp1kjnA69QItdRWSAm4RWrHzVmBSquK4VhEByRBuERYf+YcNAKx5jsOb5kXlkVhVQ6/FXm6BUp1xOpsognMywpQyeudaKk4mmES60qe/ZO6pm3EAVGWi5QhTc8LbEjiOYyrTIM/aEn5ZoSnglMk1qNisIzpJgSQf81mQe9q+FLsUnzhbB/TDjoCiepXFCtWY91++VqPDiQ8kxWuQ4HvWFXapOtj/yL/bNM5BE9zDEN/f2TWGZjkU8dJPYtRLZXPQoi6GrMZGFk3lhqLbM9CPU9Of4DY8KIyJ+tkpyjSnlhgzQ4HXounDpDf9jx5CDpDghIIrd4dM9GTeQlanYoWHYEsZSpzblGt6CmUqt4Q4CkZsCzIJCkIkcqgy1bLZryIuyTH/fUlCLFfKpndazG2aSiuFruuQvqfBjbPUUZX1pJG9aEpIRoNOSywhlyoqKY6BpsjpuaKtyhqiuPk9iS1EU1eG0Qr1cFhrdKJK2E51Ni/EVLnMiautt3dssVwbLUPI8NxS9b+borNvqFUDw1g8AFOlYi61aQ+qX4hGrG1VTkVHT7ZBXKgscGaX6v1hnzEg9gs5Mbk4VIqN4mHCungYBqwuN9o+DwsGsZUKGWhFSlBLU9qnJLHzMhqU4Rb2p5WmXcsr+rQ/HJAvNoLHR5TIFIY6bnnJLWQsczk7ZTK9KK6kLFIlBPw1dp4Z/1GrLEaHKIluG5fyBakegHaoPSvWksEwxH96mIMQGu38Im4aut+auR/hmsb89G73gpYiBaaLq7fAsfDBHAYZVM0s7a2MLvlC7pbPZ3xxZuCCkk7q4Dcv3RTGYw99BZPbvdpTf1MAMqUOIM3XBzU2mbdUQLd/e0YxXLUnetzDN5vfPfMLjfHF0IWxj9ltMIs/ZaAk8SWMlKgVzkQLrQ0QUDDOOOvWndfa6rF25uAx/qz4iGuaJiz3laYXl2S9E2J3xMzK00QiGpeAQsasbZ3VXQKlCDwE7YhLpjLm0MMuryGYV62Wqa7sNC6BnoGQINF5CTCcVxBY8MPjETB80DePz5k3FEUwYwT0oaIaVVemJ1sEbp6aWKD0/+sMfgZtMdzNvawFzZ7FpITEX8YZZRrgFct+nuPqM1KmmN6uQScMPT3HMTMAbX/QOLWhH6WUaJgZmQQKHFz19+CfApF7m9aj8Zwm6lwXaeGgEZgZxPEWQOH97/AmWsEHMqun8JH2udXq/nUY0a1l3nCdy+r1szgPsjUXVyMXwjUirbqDt/wE4aWL3EAnZnAq/ExCAQZpQCCP0jVcKHz/iMFFKraPrswY7KcX1OJekz9jfGdsM7lDXU5ECjjuKj/hsCTGz9jIb7afja4IluRZrcUMoMTQstZhTVmEhj8fUT7UiKYQiP5wFB1vw5jrYnqIr6Sk4VbyJqo8E55sQQ43YH/79M6hQ1XlO0NlCzgEGUIAkgdewLviKuDk47LTUWNBVKR8Q3p2M4Ogc8y+jg+0D/BgN98PUD3e2FB/+Yp+AfuWL/7pb5r++OhxOzbHS/MD+ZzC3GMqAB0MzTr9k3Pju+b3z2TReOvet8c/y1bHv2wD4r6YlQpf4/pf2N9mxwYtE+sC/ctcbG/76fv+/nr9nP9Stw972rFe5+FLoX+D0lK+loKKT5F2MvLufkwTL9uoZgu/4d/8eoF0QOm19cKWWr2aDV1Nr2lCSt9DUsZmTQks1O+axKtSjSlrGq7NX0djDrX8DNkDHWCB82jeLWKDxu6A06Wm7hk/1CP0ae7Jf19gXTjbsDb38CsFmwiA== - diff --git a/tests/settings/_files/config.yaml b/tests/settings/_files/config.yaml index 071e1f863..28f29c606 100644 --- a/tests/settings/_files/config.yaml +++ b/tests/settings/_files/config.yaml @@ -12,4 +12,3 @@ server: devel: virtualPrinter: enabled: true - diff --git a/tests/util/_files/utf8_with_bom.txt b/tests/util/_files/utf8_with_bom.txt index 38d2961e3..b648026c3 100644 --- a/tests/util/_files/utf8_with_bom.txt +++ b/tests/util/_files/utf8_with_bom.txt @@ -1,3 +1,3 @@ # This is a text file encoded in UTF8 with a BOM -Here are some umlauts: äöüÄÖÜß \ No newline at end of file +Here are some umlauts: äöüÄÖÜß diff --git a/tests/util/_files/utf8_without_bom.txt b/tests/util/_files/utf8_without_bom.txt index 16ea8c8c7..1f9dd4e01 100644 --- a/tests/util/_files/utf8_without_bom.txt +++ b/tests/util/_files/utf8_without_bom.txt @@ -1,3 +1,3 @@ # This is a text file encoded in UTF8 without a BOM -Here are some umlauts: äöüÄÖÜß \ No newline at end of file +Here are some umlauts: äöüÄÖÜß