-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2368 from MiczFlor/develop
Release v2.8.0
- Loading branch information
Showing
37 changed files
with
318 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,33 @@ | ||
[flake8] | ||
max-line-length = 120 | ||
max-line-length = 127 | ||
ignore = | ||
# continuation line over-indented for hanging indent | ||
E126, | ||
# continuation line over-indented for visual indent | ||
E127, | ||
# continuation line under-indented for visual indent | ||
E128 | ||
E128, | ||
# line break before binary operator | ||
W503, | ||
# We don't always want periods at the end of the first docstring line | ||
D400, | ||
# We dont rephrase to imperative mood | ||
D401 | ||
per-file-ignores = | ||
# Only in __init__files ignore imported but unused | ||
# Not necessary, if __all__ is declared in __init__ file | ||
# https://www.python.org/dev/peps/pep-0008/#id48 | ||
__init__.py:F401 | ||
__init__.py:F401, | ||
components/smart-home-automation/MQTT-protocol/daemon_mqtt_client.py:W605, | ||
components/controls/buttons_usb_encoder/*.py:E402 | ||
count = True | ||
max-complexity = 12 | ||
statistics = True | ||
show-source = True | ||
filename = *.py,*.py.* | ||
extend-exclude = | ||
# Ignore dirs and files, which are from external sources | ||
components/displays/HD44780-i2c/ | ||
scripts/Reader.py.pcsc | ||
# Ignore helper scripts | ||
scripts/helperscripts/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Markdown Linting | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- 'future3/**' | ||
paths: | ||
- '**.md' | ||
pull_request: | ||
branches: | ||
- develop | ||
- master | ||
paths: | ||
- '**.md' | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Linting markdown | ||
uses: DavidAnson/markdownlint-cli2-action@v17 | ||
with: | ||
config: .markdownlint-cli2.yaml | ||
#continue-on-error: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# | ||
# markdownlint-cli2 configuration, see https://github.com/DavidAnson/markdownlint-cli2?tab=readme-ov-file#configuration | ||
# | ||
|
||
# rules, see https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md | ||
config: | ||
line-length: false | ||
# ignore dollar signs | ||
commands-show-output: false | ||
no-trailing-punctuation: false | ||
no-duplicate-heading: | ||
siblings_only: true | ||
# allow some tags we use for formatting | ||
no-inline-html: | ||
allowed_elements: [ "details", "summary" ] | ||
|
||
# Include a custom rule package | ||
#customRules: | ||
# - markdownlint-rule-titlecase | ||
|
||
# Fix no fixable errors | ||
fix: false | ||
|
||
# Define a custom front matter pattern | ||
#frontMatter: "<head>[^]*<\/head>" | ||
|
||
# Define glob expressions to use (only valid at root) | ||
globs: | ||
- "**.md" | ||
|
||
# Define glob expressions to ignore | ||
ignores: | ||
- "htdocs/**" | ||
|
||
# Use a plugin to recognize math | ||
#markdownItPlugins: | ||
# - | ||
# - "@iktakahiro/markdown-it-katex" | ||
|
||
# Additional paths to resolve module locations from | ||
#modulePaths: | ||
# - "./modules" | ||
|
||
# Enable inline config comments | ||
noInlineConfig: false | ||
|
||
# Disable progress on stdout (only valid at root) | ||
noProgress: true | ||
|
||
# Use a specific formatter (only valid at root) | ||
#outputFormatters: | ||
# - | ||
# - markdownlint-cli2-formatter-default | ||
|
||
# Show found files on stdout (only valid at root) | ||
showFound: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.