2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 18:08:16 +00:00

18 Commits

Author SHA1 Message Date
Andrei Pavel
4c81b194b9
[#4031] Convert some leftover docs from autotools to meson 2025-07-28 10:31:47 +03:00
Marcin Godzina
9a2ba84480 [#3973] release changes 2025-06-20 17:30:19 +02:00
Razvan Becheriu
a5df2a8c93 [#3894] update section also 2025-05-30 09:24:25 +00:00
Razvan Becheriu
dbd91bc299 [#3894] fixed generate rst from mes files 2025-05-30 09:24:25 +00:00
Andrei Pavel
317af481f8
[#1945] address review
- generate kea-messages.rst automatically on make -C doc/sphinx
- add disclaimer header that debug-messages.rst and kea-messages.rst are
  generated
- minor changes to debug level variable names
- do not write section "Messages printed" in tools/check-messages.py if
  there are no messages
2024-08-22 15:48:11 +03:00
Andrei Pavel
49392bf857
[#1945] default to determining list of files automatically in api2doc.py and mes2doc.py 2024-08-22 15:47:24 +03:00
Andrei Pavel
a56fb8d6c6
[#1945] generate kea-messages.rst a priori
This allows us to document premium messages in the public ARM without
having to hand out a copy of the premium sources to readthedocs.
2024-08-22 15:47:24 +03:00
Andrei Pavel
571cd571bc
[#1945] add ARM section for debug messages indexed by log level 2024-08-22 15:47:24 +03:00
Andrei Pavel
53f8882623
[#1945] add missing messages and premium messages to the ARM
Apart from premium, messages from these files were missing:
- perfmon_messages.mes
- pgsql_cb_messages.mes
- run_script_messages.mes
- fuzz_messages.mes
2024-08-22 15:47:24 +03:00
Andrei Pavel
9c35a4db68
[#3287] fix pylint warnings
- C0115: Missing class docstring (missing-class-docstring)
- C0123: Use isinstance() rather than type() for a typecheck. (unidiomatic-typecheck)
- C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
- C0206: Consider iterating with .items() (consider-using-dict-items)
- C0411: standard import "..." should be placed before "..." (wrong-import-order)
- C0415: Import outside toplevel (...) (import-outside-toplevel)
- C1802: Do not use `len(SEQUENCE)` without comparison to determine if a sequence is empty (use-implicit-booleaness-not-len)
- E0001: Parsing failed: 'invalid syntax (<unknown>, line 2313)' (syntax-error)
- E0401: Unable to import '...' (import-error)
- E0602: Undefined variable 'l' (undefined-variable)
- R0205: Class 'VagrantEnv' inherits from object, can be safely removed from bases in python3 (useless-object-inheritance)
- E1101: Instance of 'NSECBASE' has no 'dump_fixedpart' member (no-member)
- E1123: Unexpected keyword argument 'capture' in method call (unexpected-keyword-arg)
- R0902: Too many instance attributes (too-many-instance-attributes)
- R0913: Too many arguments (too-many-arguments)
- R0916: Too many boolean expressions in if statement (6/5) (too-many-boolean-expressions)
- R1717: Consider using a dictionary comprehension (consider-using-dict-comprehension)
- R1722: Consider using 'sys.exit' instead (consider-using-sys-exit)
- R1732: Consider using 'with' for resource-allocating operations (consider-using-with)
- R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
- W0102: Dangerous default value sys.argv[1:] (builtins.list) as argument (dangerous-default-value)
- W0102: Dangerous default value {} as argument (dangerous-default-value)
- W0106: Expression "[f.write('%02x' % x) for x in bin_address]" is assigned to nothing (expression-not-assigned)
- W0107: Unnecessary pass statement (unnecessary-pass)
- W0201: Attribute 'config' defined outside __init__ (attribute-defined-outside-init)
- W0404: Reimport '...' (imported line ...) (reimported)
- W0611: Unused import ... (unused-import)
- W0612: Unused variable '...' (unused-variable)
- W0613: Unused argument '...' (unused-argument)
- W0621: Redefining name '...' from outer scope (line 1471) (redefined-outer-name)
- W0622: Redefining built-in '...' (redefined-builtin)
- W0707: Consider explicitly re-raising using 'raise ... from ...' (raise-missing-from)
- W0718: Catching too general exception Exception (broad-exception-caught)
- W1202: Use lazy % formatting in logging functions (logging-format-interpolation)
- W1203: Use lazy % formatting in logging functions (logging-fstring-interpolation)
- W1308: Duplicate string formatting argument 'connection_type', consider passing as named argument (duplicate-string-formatting-argument)
- W1401: Anomalous backslash in string: '\/'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
- W1406: The u prefix for strings is no longer necessary in Python >=3.0 (redundant-u-string-prefix)
- W1514: Using open without explicitly specifying an encoding (unspecified-encoding)
- W4901: Deprecated module 'optparse' (deprecated-module)
- W4904: Using deprecated class SafeConfigParser of module configparser (deprecated-class)
2024-06-20 18:52:09 +03:00
Andrei Pavel
8e37580e59
[#3287] fix pycodestyle warnings
- E111 indentation is not a multiple of 4
- E117 over-indented
- E125 continuation line with same indent as next logical line
- E127 continuation line over-indented for visual indent
- E128 continuation line under-indented for visual indent
- E129 visually indented line with same indent as next logical line
- E131 continuation line unaligned for hanging indent
- E201 whitespace after '['
- E201 whitespace after '{'
- E202 whitespace before ')'
- E202 whitespace before ']'
- E202 whitespace before '}'
- E203 whitespace before '
- E203 whitespace before ','
- E222 multiple spaces after operator
- E225 missing whitespace around operator
- E228 missing whitespace around modulo operator
- E231 missing whitespace after ','
- E251 unexpected spaces around keyword / parameter equals
- E261 at least two spaces before inline comment
- E262 inline comment should start with '# '
- E265 block comment should start with '# '
- E301 expected 1 blank line, found 0
- E302 expected 2 blank lines, found 1
- E303 too many blank lines (2)
- E305 expected 2 blank lines after class or function definition, found 1
- E306 expected 1 blank line before a nested definition, found 0
- E401 multiple imports on one line
- E402 module level import not at top of file
- E501 line too long
- E502 the backslash is redundant between brackets
- E703 statement ends with a semicolon
- E713 test for membership should be 'not in'
- E722 do not use bare 'except'
- E741 ambiguous variable name 'l'
- W605 invalid escape sequence '\/'
2024-06-20 18:52:09 +03:00
Andrei Pavel
d423e17a64 [#1077] document sysrepo 1.x 2021-07-23 13:48:53 +02:00
Andrei Pavel
dab966b3ed
[#1772] changelog, copyrights, messages 2021-03-29 21:47:05 +03:00
Andrei Pavel
e47a26ee2f [#1717] correct some URLs 2021-03-23 13:32:54 +00:00
Andrei Pavel
08ded64dec
[#1554] update copyright dates 2020-11-23 13:40:41 +02:00
Suzanne Goldlust
5b4f4283f2 Add clarifying text
Insert sentence in introduction to explain what % placeholders mean
2020-11-20 11:32:22 +01:00
Michal Nowikowski
357b9352f4 moved generating kea-messages.rst and api.rst from Makefile.am to sphinx's conf.py so they are generated on readthedocs.org as well 2019-08-09 13:10:53 +02:00
Michal Nowikowski
519035a179 revamped api doc generation 2019-07-30 10:45:13 +02:00