2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 13:07:50 +00:00

27 Commits

Author SHA1 Message Date
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
Wlodzimierz Wencel
ebfd205d95 [#3361] release changes 2024-04-29 08:14:59 +00:00
Razvan Becheriu
027674fa54 [#3316] fixed doxygen 2024-04-03 23:11:45 +03:00
Francis Dupont
ba3750b05b [(no branch, rebasing 1880-implement-the-tkey-rr)] [(no branch, rebasing 1880-implement-the-tkey-rr)] [(no branch, rebasing 1880-implement-the-tkey-rr)] [#1880] Checkpoint: UT half done 2021-06-03 11:42:15 +02:00
Francis Dupont
77cdc5438f [(no branch, rebasing 1880-implement-the-tkey-rr)] [(no branch, rebasing 1880-implement-the-tkey-rr)] [(no branch, rebasing 1880-implement-the-tkey-rr)] [#1880] Added TKEY to gen_wiredata.py 2021-06-03 11:42:15 +02:00
Wlodek Wencel
28b4f8aa44 [master] typos, dates, *.mes files updates before release 2017-09-27 00:47:05 +02:00
Josh Soref
4fd96165f2 spelling: quotation 2017-07-23 15:41:53 -04:00
Wlodek Wencel
099dbc0931 [v1_1_0] Copyright dates update 2016-08-28 22:38:24 +02:00
Francis Dupont
75a8350485 [master] Fixed rights of non-executable regular files 2016-07-08 20:38:15 +02:00
Marcin Siodelski
3d18318f68 [4236] Updated copyright dates in all files. 2015-12-16 15:28:44 +01:00
Marcin Siodelski
fe9dd86d20 [4236] Replaced license text in all files containing it. 2015-12-16 13:37:29 +01:00
Francis Dupont
a5db94b90d [master] spelling 2015-03-14 15:37:19 +01:00
Mukund Sivaraman
2d33f5b862 Merge branch 'trac2512' 2014-02-19 19:57:30 +05:30
Mukund Sivaraman
2e80ea0623 [2512] Add support for the CAA RR type 2014-01-20 21:10:44 +05:30
Mukund Sivaraman
d88bd04636 [2185] Add support for the TLSA RR type 2014-01-14 12:21:24 +05:30
Mukund Sivaraman
937635d756 Merge branch 'trac2387' 2013-04-10 13:28:57 +05:30
Jeremy C. Reed
e744b4b23d [master] many spelling or typo fixes
mostly in documentation or in comments

reviewed by muks via jabber

includes output changes for two isc_throw.
2013-04-09 08:15:22 -05:00
Mukund Sivaraman
8117b69a1c [2387] Add DNSKEY support in wire data generator
Also convert some existing DNSKEY test data to use wire data generated
from spec files.
2013-04-01 16:41:26 +05:30
Jeremy C. Reed
6ae0d625f0 [master] many misspelling and typo fixes
reviewed by jelte via jabber.

Changes some log message descriptions and some
function arguments and some output.
2013-03-06 08:41:51 -06:00
JINMEI Tatuya
9f8aabb795 [2442] updated some TXT-like test data without using intermediate space.
when we migrate the complete lexer version, this will cause confusion:
the lexer will consider the space as a separater.
2012-12-03 21:06:19 -08:00
Mukund Sivaraman
ea5ac57d50 [1136] Implement the SSHFP type, from RFC 4255 2012-03-11 14:30:55 +05:30
JINMEI Tatuya
75e6307ae2 [1638] supported NSEC3PARAM in gen_wiredata.py. 2012-02-14 19:14:22 -08:00
chenzhengzhang
deefb84c32 Merge branch 'master' into trac1113
Conflicts:
	src/lib/dns/Makefile.am
	src/lib/util/python/gen_wiredata.py.in
2011-08-17 13:13:49 +08:00
chenzhengzhang
b4a1bc9ba2 [trac1114] implement afsdb rdata 2011-08-16 10:57:17 +08:00
chenzhengzhang
00686a614c [trac1113] sync with master, fix doxygen and unittest 2011-08-11 11:00:21 +08:00
JINMEI Tatuya
0e662967ac [904] moved the script to lib/util/python/ 2011-08-04 17:23:22 -07:00