Skip to content

Commit

Permalink
update requirement versions; copyright; workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
r3w0p committed Jun 26, 2024
1 parent 5c47bdb commit baf240e
Show file tree
Hide file tree
Showing 75 changed files with 88 additions and 81 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
steps:
- name: Checkout repository
Expand Down Expand Up @@ -50,13 +50,12 @@ jobs:
run: |
interrogate -vv bobocep --fail-under 100
- name: Upload code coverage to Code Climate
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_TEST_REPORTER_ID }}
- name: Upload coverage reports to Codecov
if: matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v4.0.1
with:
coverageCommand: coverage xml
continue-on-error: true
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

cd:
name: CD
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/cidev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
os: [ ubuntu-latest ]
python-version: [ "3.9" ]
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -47,6 +47,13 @@ jobs:
coverage run -m pytest tests
coverage report --fail-under=98
- name: Upload coverage reports to Codecov
if: matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

- name: Documentation coverage with interrogate
run: |
interrogate -vv bobocep --fail-under 100
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
tags-ignore:
- '**'
schedule:
# At 06:00 on Monday.
# At 06:00 on Monday morning
- cron: '0 6 * * 1'

jobs:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@

__pycache__
*.pyc
.coverage
docs/_build
docs/source
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2023 r3w0p <rr33ww00pp@gmail.com>
Copyright (c) 2019-2024 r3w0p <rr33ww00pp@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bobocep/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/bobocep.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/action/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/action/action.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/action/common/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/action/common/multi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/action/handler.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/decider/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/decider/decider.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/decider/pubsub.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/decider/run.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/decider/runserial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/engine.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/forwarder/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/forwarder/forwarder.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/forwarder/pubsub.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/producer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/producer/producer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/producer/pubsub.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/receiver/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/receiver/pubsub.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/receiver/receiver.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/receiver/validator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/engine/task.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/action.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/complex.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/event.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/factory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/history.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/event/simple.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/gen/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/gen/event.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/gen/event_id.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/gen/timestamp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/phenom/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/phenom/pattern/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/phenom/pattern/builder.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/phenom/pattern/pattern.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/phenom/pattern/predicate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/cep/phenom/phenom.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/dist/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/dist/crypto/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/dist/crypto/aes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/dist/crypto/crypto.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/dist/device.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/dist/devman.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/dist/dist.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/dist/pubsub.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/dist/tcp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
2 changes: 1 addition & 1 deletion bobocep/setup/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023 r3w0p
# Copyright (c) 2019-2024 r3w0p
# The following code can be redistributed and/or
# modified under the terms of the MIT License.

Expand Down
Loading

0 comments on commit baf240e

Please sign in to comment.