Skip to content
Snippets Groups Projects
Commit 40c1187f authored by Simon Rose's avatar Simon Rose
Browse files

Merge branch 'revert_commandline_library_cleanup' into 'master'

Partial reversion of af57525d

See merge request e3/e3-require!126
parents d51c57b3 0f4fd1b3
No related branches found
No related tags found
1 merge request!126Partial reversion of af57525d3ba2ff35c0c5628d1dd666d8675b375e
Pipeline #142237 passed
[flake8]
ignore = E501, E203, W503
# E501, E203: black
# W503: PEP8
repos: repos:
- repo: https://github.com/ambv/black - repo: https://github.com/psf/black
rev: 22.3.0 rev: 22.8.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/pycqa/flake8 - repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 3.9.2 rev: v0.0.238
hooks: hooks:
- id: flake8 - id: ruff
- repo: https://github.com/PyCQA/doc8.git
rev: v1.0.0 # 1.1.0 drops python3.6 support
hooks:
- id: doc8
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1 rev: v4.0.1 # 4.2.0 drops python3.6 support
hooks: hooks:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/timothycrosley/isort - id: check-yaml
rev: 5.10.1
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v13.0.0
hooks:
- id: clang-format
...@@ -50,7 +50,7 @@ record(stringin,"$(REQUIRE_IOC):BaseVersion") ...@@ -50,7 +50,7 @@ record(stringin,"$(REQUIRE_IOC):BaseVersion")
} }
# This record contains labels for the created NTTable, named $(REQUIRE_IOC):LoadedModules. # This record contains labels for the created NTTable, named $(REQUIRE_IOC):LoadedModules.
record(aai, "$(REQUIRE_IOC):Labels") record(aai, "$(REQUIRE_IOC):Labels")
{ {
field(DESC, "Labels for the NTTable") field(DESC, "Labels for the NTTable")
field(FTVL, "STRING") field(FTVL, "STRING")
......
...@@ -192,6 +192,8 @@ USR_CPPFLAGS+=-DUSE_TYPED_RSET ...@@ -192,6 +192,8 @@ USR_CPPFLAGS+=-DUSE_TYPED_RSET
endif endif
SHRLIB_VERSION= SHRLIB_VERSION=
# Avoid linking everything with libreadline.so
COMMANDLINE_LIBRARY=
OBJ=.o OBJ=.o
......
extend-select = ["D212"]
extend-ignore = ["D105", "D107", "D202", "D418", "E501"]
...@@ -153,9 +153,7 @@ EXCLUDE_ARCHS+=debug ...@@ -153,9 +153,7 @@ EXCLUDE_ARCHS+=debug
def run_ioc_get_output(*args, **kwargs): def run_ioc_get_output(*args, **kwargs):
""" """Run an IOC and try to load the test module."""
Run an IOC and try to load the test module
"""
ioc_args = [] ioc_args = []
module = kwargs.get("module", None) module = kwargs.get("module", None)
version = kwargs.get("version", None) version = kwargs.get("version", None)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment