Skip to content

Commit 43207b5

Browse files
authored
Merge pull request #45 from vroncevic/dev
[daemonpy] Updated code coverage, version, docs
2 parents 5ca173d + c54b3d8 commit 43207b5

57 files changed

Lines changed: 124 additions & 129 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/daemonpy_package_checker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ jobs:
3333
pip install flake8
3434
# stop the build if there are Python syntax errors or undefined names
3535
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
36-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide => strict 79
37-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=79 --statistics --max-doc-length 79
36+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
37+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=79 --statistics --max-doc-length 127

.github/workflows/daemonpy_python_checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: |
2323
modules_ok=0
2424
modules=($(find daemonpy/ tests/ -type f -name '*.py' -exec echo '{}' \;))
25-
for mod in "${modules[@]}"; do line_length=$(wc -L < "${mod}"); [[ $line_length -gt 80 ]] && modules_ok=1; done
25+
for mod in "${modules[@]}"; do line_length=$(wc -L < "${mod}"); [[ $line_length -gt 127 ]] && modules_ok=1; done
2626
[[ $modules_ok -eq 0 ]] && echo ok || exit 1
2727
- name: Check max number of lines in modules
2828
id: num_line_checker

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 - 2024 Vladimir Roncevic <elektron.ronca@gmail.com>
1+
# Copyright 2020 - 2026 Vladimir Roncevic <elektron.ronca@gmail.com>
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -35,7 +35,6 @@ RUN python3 -m pip install --upgrade build
3535
RUN python3 -m venv env
3636
RUN mkdir /daemonpy/
3737
COPY daemonpy /daemonpy/
38-
COPY setup.cfg /
3938
COPY pyproject.toml /
4039
COPY MANIFEST.in /
4140
COPY setup.py /
@@ -49,7 +48,6 @@ RUN python3 -m build
4948
RUN pip3 install /dist/daemonpy-*-py3-none-any.whl
5049
RUN rm -rf /daemonpy*
5150
RUN rm -rf dist/ tests/
52-
RUN rm -f setup.cfg
5351
RUN rm -f pyproject.toml
5452
RUN rm -f MANIFEST.in
5553
RUN rm -f setup.py

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Create short example
100100
Module
101101
mydaemon.py
102102
Copyright
103-
Copyright (C) 2020 - 2025 Vladimir Roncevic <elektron.ronca@gmail.com>
103+
Copyright (C) 2020 - 2026 Vladimir Roncevic <elektron.ronca@gmail.com>
104104
mydaemon is free software: you can redistribute it and/or modify it
105105
under the terms of the GNU General Public License as published by the
106106
Free Software Foundation, either version 3 of the License, or
@@ -203,7 +203,7 @@ More documentation and info at
203203

204204
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
205205

206-
Copyright (C) 2020 - 2025 by [vroncevic.github.io/daemonpy](https://vroncevic.github.io/daemonpy/)
206+
Copyright (C) 2020 - 2026 by [vroncevic.github.io/daemonpy](https://vroncevic.github.io/daemonpy/)
207207

208208
**daemonpy** is free software; you can redistribute it and/or modify
209209
it under the same terms as Python itself, either Python version 2.x/3.x or,

daemonpy/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Module
55
__init__.py
66
Copyright
7-
Copyright (C) 2020 - 2025 Vladimir Roncevic <elektron.ronca@gmail.com>
7+
Copyright (C) 2020 - 2026 Vladimir Roncevic <elektron.ronca@gmail.com>
88
daemonpy is free software: you can redistribute it and/or modify it
99
under the terms of the GNU General Public License as published by the
1010
Free Software Foundation, either version 3 of the License, or
@@ -42,10 +42,10 @@
4242
sys.exit(f'\n{__file__}\n{ats_error_message}\n') # pragma: no cover
4343

4444
__author__: str = 'Vladimir Roncevic'
45-
__copyright__: str = '(C) 2025, https://vroncevic.github.io/daemonpy'
45+
__copyright__: str = '(C) 2026, https://vroncevic.github.io/daemonpy'
4646
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
4747
__license__: str = 'https://github.com/vroncevic/daemonpy/blob/dev/LICENSE'
48-
__version__: str = '2.0.6'
48+
__version__: str = '2.0.7'
4949
__maintainer__: str = 'Vladimir Roncevic'
5050
__email__: str = 'elektron.ronca@gmail.com'
5151
__status__: str = 'Updated'

daemonpy/daemon_usage.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Module
55
daemon_usage.py
66
Copyright
7-
Copyright (C) 2020 - 2025 Vladimir Roncevic <elektron.ronca@gmail.com>
7+
Copyright (C) 2020 - 2026 Vladimir Roncevic <elektron.ronca@gmail.com>
88
daemonpy is free software: you can redistribute it and/or modify it
99
under the terms of the GNU General Public License as published by the
1010
Free Software Foundation, either version 3 of the License, or
@@ -34,10 +34,10 @@
3434
sys.exit(f'\n{__file__}\n{ats_error_message}\n') # pragma: no cover
3535

3636
__author__: str = 'Vladimir Roncevic'
37-
__copyright__: str = '(C) 2025, https://vroncevic.github.io/daemonpy'
37+
__copyright__: str = '(C) 2026, https://vroncevic.github.io/daemonpy'
3838
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
3939
__license__: str = 'https://github.com/vroncevic/daemonpy/blob/dev/LICENSE'
40-
__version__: str = '2.0.6'
40+
__version__: str = '2.0.7'
4141
__maintainer__: str = 'Vladimir Roncevic'
4242
__email__: str = 'elektron.ronca@gmail.com'
4343
__status__: str = 'Updated'

daemonpy/file_descriptor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Module
55
file_descriptor.py
66
Copyright
7-
Copyright (C) 2020 - 2025 Vladimir Roncevic <elektron.ronca@gmail.com>
7+
Copyright (C) 2020 - 2026 Vladimir Roncevic <elektron.ronca@gmail.com>
88
daemonpy is free software: you can redistribute it and/or modify it
99
under the terms of the GNU General Public License as published by the
1010
Free Software Foundation, either version 3 of the License, or
@@ -32,10 +32,10 @@
3232
sys.exit(f'\n{__file__}\n{ats_error_message}\n') # pragma: no cover
3333

3434
__author__: str = 'Vladimir Roncevic'
35-
__copyright__: str = '(C) 2025, https://vroncevic.github.io/daemonpy'
35+
__copyright__: str = '(C) 2026, https://vroncevic.github.io/daemonpy'
3636
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
3737
__license__: str = 'https://github.com/vroncevic/daemonpy/blob/dev/LICENSE'
38-
__version__: str = '2.0.3'
38+
__version__: str = '2.0.7'
3939
__maintainer__: str = 'Vladimir Roncevic'
4040
__email__: str = 'elektron.ronca@gmail.com'
4141
__status__: str = 'Updated'

daemonpy/file_process_id.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Module
55
file_process_id.py
66
Copyright
7-
Copyright (C) 2020 - 2025 Vladimir Roncevic <elektron.ronca@gmail.com>
7+
Copyright (C) 2020 - 2026 Vladimir Roncevic <elektron.ronca@gmail.com>
88
daemonpy is free software: you can redistribute it and/or modify it
99
under the terms of the GNU General Public License as published by the
1010
Free Software Foundation, either version 3 of the License, or
@@ -32,10 +32,10 @@
3232
sys.exit(f'\n{__file__}\n{ats_error_message}\n') # pragma: no cover
3333

3434
__author__: str = 'Vladimir Roncevic'
35-
__copyright__: str = '(C) 2025, https://vroncevic.github.io/daemonpy'
35+
__copyright__: str = '(C) 2026, https://vroncevic.github.io/daemonpy'
3636
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
3737
__license__: str = 'https://github.com/vroncevic/daemonpy/blob/dev/LICENSE'
38-
__version__: str = '2.0.6'
38+
__version__: str = '2.0.7'
3939
__maintainer__: str = 'Vladimir Roncevic'
4040
__email__: str = 'elektron.ronca@gmail.com'
4141
__status__: str = 'Updated'

daemonpy/unix_operations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Module
55
unix_operations.py
66
Copyright
7-
Copyright (C) 2020 - 2025 Vladimir Roncevic <elektron.ronca@gmail.com>
7+
Copyright (C) 2020 - 2026 Vladimir Roncevic <elektron.ronca@gmail.com>
88
daemonpy is free software: you can redistribute it and/or modify it
99
under the terms of the GNU General Public License as published by the
1010
Free Software Foundation, either version 3 of the License, or
@@ -38,10 +38,10 @@
3838
sys.exit(f'\n{__file__}\n{ats_error_message}\n') # pragma: no cover
3939

4040
__author__: str = 'Vladimir Roncevic'
41-
__copyright__: str = '(C) 2025, https://vroncevic.github.io/daemonpy'
41+
__copyright__: str = '(C) 2026, https://vroncevic.github.io/daemonpy'
4242
__credits__: List[str] = ['Vladimir Roncevic', 'Python Software Foundation']
4343
__license__: str = 'https://github.com/vroncevic/daemonpy/blob/dev/LICENSE'
44-
__version__: str = '2.0.6'
44+
__version__: str = '2.0.7'
4545
__maintainer__: str = 'Vladimir Roncevic'
4646
__email__: str = 'elektron.ronca@gmail.com'
4747
__status__: str = 'Updated'
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)