Skip to content

Release 1.1.4 Update #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 83 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from 74 commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
6401e1c
Another attempt at Build Config updates
reactive-firewall Jan 19, 2020
3430afe
Adding deepsource.io to CI pipeline
reactive-firewall Mar 24, 2020
5e694d0
Style fixes and CI retest
reactive-firewall Mar 24, 2020
3158d43
Create scorecards-analysis.yml
reactive-firewall Jan 14, 2022
035231f
xcode workspace renomalized with xml lint
reactive-firewall Aug 30, 2022
83cfc31
workaround different flake support for del() vs del x
reactive-firewall Aug 30, 2022
ff308fc
Version 1.1.4 supplemental update
reactive-firewall Sep 24, 2022
4a3bc67
Regression fix for some anti-patterns
reactive-firewall Sep 24, 2022
9af5c27
Regression fix for code style.
reactive-firewall Sep 24, 2022
8cb602f
Slight improvement to code style.
reactive-firewall Sep 24, 2022
0751ed9
Less is More...
reactive-firewall Sep 24, 2022
1b4734b
Swap whitespace for docs to apese deepsource padantics.
reactive-firewall Sep 25, 2022
defb45e
tweak to apese deepsource padantics.
reactive-firewall Sep 25, 2022
c5ff889
tweak to apese deepsource padantics. Less than ideal.
reactive-firewall Sep 25, 2022
6d10c4c
Fixed a typo.
reactive-firewall Sep 25, 2022
ee2cf63
Fixed a typo.
reactive-firewall Sep 25, 2022
61b9815
tweak to apese deepsource padantics. Less than ideal.
reactive-firewall Sep 25, 2022
b66f119
Merge pull request #32 from reactive-firewall/master
reactive-firewall Sep 25, 2022
c13a528
Removed trailing whitespace. ( Fix for #29 )
reactive-firewall Sep 25, 2022
993e752
Updated for 2024
reactive-firewall Jul 9, 2024
3dbd9f8
Regression fix for GH Actions and user-install action
reactive-firewall Jul 9, 2024
e71709f
Regression fix for repo url.
reactive-firewall Jul 9, 2024
7a0e54c
Debugging GH actions.
reactive-firewall Jul 9, 2024
e25b751
Regression fix (whitespace)
reactive-firewall Jul 9, 2024
ab5b574
Regression fix for Circle-CI missing python3.11+
reactive-firewall Jul 9, 2024
39a5fa2
Migration to new CircleCI docker images
reactive-firewall Jul 10, 2024
90f7b47
Fixed a few anti-patterns.
reactive-firewall Jul 10, 2024
229a693
Create scorecards.yml
reactive-firewall Jul 10, 2024
0a165a7
Update scorecards-analysis.yml
reactive-firewall Jul 10, 2024
542a658
Delete .github/workflows/scorecards.yml
reactive-firewall Jul 10, 2024
b9cdf0c
Update Labeler.yml to new version
reactive-firewall Jul 10, 2024
0bed4f7
Merge pull request #36 from reactive-firewall/labeler-patch
reactive-firewall Jul 10, 2024
1d53595
Merge pull request #35 from reactive-firewall/reactive-firewall-patch-1
reactive-firewall Jul 10, 2024
c3c2570
Create scorecards.yml
reactive-firewall Jul 10, 2024
632a61f
Bumped Action versions and perms
reactive-firewall Jul 10, 2024
dd6b74c
Updated lables config for latest version.
reactive-firewall Jul 10, 2024
60b2850
Revert to only check default branch to fix regression ( - Fixed #38 - )
reactive-firewall Jul 10, 2024
46a060a
Merge branches 'score-card-revert-patch' and 'temp-merge' and 'labele…
reactive-firewall Jul 11, 2024
29d4740
Cleanup Labeler config.
reactive-firewall Jul 11, 2024
2b8730a
Merge branch 'score-card-revert-patch' and 'labeler-patch' into temp-…
reactive-firewall Jul 11, 2024
c2194fe
Fix CWE-73 found in PR #37
reactive-firewall Jul 11, 2024
cdba8ce
Harden default permissions of GH actions ( - Fixes #39 - )
reactive-firewall Jul 11, 2024
4dca608
Merge branches 'security-fix-1' and 'security-fix-2'
reactive-firewall Jul 11, 2024
86d4374
Harden default permissions of GH actions ( - Fixes #39 and #40 - )
reactive-firewall Jul 13, 2024
f23e54a
Marked early del to ignore false-positives of PYL-C0414 ( - Fixes #48…
reactive-firewall Jul 13, 2024
259ffb6
Marked early del to ignore false-positives of PYL-W0043 ( - Fixes #47…
reactive-firewall Jul 13, 2024
5f11d12
refactor to avoid PYL-W0621 ( - Fixes #49 - )
reactive-firewall Jul 13, 2024
3566cda
comment to skip false PYL-W0622 ( - Fixes #50 - )
reactive-firewall Jul 13, 2024
03ba956
Merge branches 'skip-silly-PYL-W0621', 'skip-early-del-PTC-W0043', 's…
reactive-firewall Jul 13, 2024
5387136
Fixup typo (- Fixes #50 -)
reactive-firewall Jul 13, 2024
b0fc5e0
Added styleistic newline for FLK-D204 linter
reactive-firewall Jul 15, 2024
aa386db
Refactored docstring for style to scilence linter FLK-D209.
reactive-firewall Jul 15, 2024
8c7a1a2
Include 'Hotfix-114-A'
reactive-firewall Jul 15, 2024
f0a2ad4
Fixup .codecov.yml
reactive-firewall Jul 15, 2024
470ee5f
Merge pull request #52 from reactive-firewall/fix-up-deepsource
reactive-firewall Jul 15, 2024
ee529c3
Refactor pointless global doctoring to muzzle linter PYL-W0105 (- Fix…
reactive-firewall Jul 15, 2024
5884c16
Resolves PYL-W0107 (- Fixes #55 -)
reactive-firewall Jul 15, 2024
ef508d4
Fix Anti-pattern PYL-R0123 (- Fixes #53 -)
reactive-firewall Jul 15, 2024
082f624
Resolve conflicting style-linting (- WIP #56 -)
reactive-firewall Jul 15, 2024
c7c8a17
Resolves PYL-W1503 (- Fixes #56 -)
reactive-firewall Jul 15, 2024
1f0c4d8
Include 'Hotfix-114-B', 'Hotfix-114-C', 'Hotfix-114-D' and 'Hotfix-11…
reactive-firewall Jul 15, 2024
3ebab3c
Refactor pointless global doctoring to muzzle linter PYL-W0105 (- Fix…
reactive-firewall Jul 15, 2024
fdcd9d9
Resolves PYL-W0107 (- Fixes #55 -)
reactive-firewall Jul 15, 2024
ac95909
Fix Anti-pattern PYL-R0123 (- Fixes #53 -)
reactive-firewall Jul 15, 2024
d6be075
Resolve conflicting style-linting (- WIP #56 -)
reactive-firewall Jul 15, 2024
07ab567
Resolves PYL-W1503 (- Fixes #56 -)
reactive-firewall Jul 15, 2024
4c7f247
Merge branch 'master' into fix-up-deepsource
reactive-firewall Jul 15, 2024
4416fbb
Fix up deepsource complaints (#57)
reactive-firewall Jul 15, 2024
b34116b
Minor fixup to ignore PTC-W0020 to maintain clearity in source.
reactive-firewall Aug 19, 2024
9e8b6bf
Sync branch with 'master'
reactive-firewall Aug 19, 2024
56874d1
Fixup for CI to use latest archive upload and codecov actions.
reactive-firewall Aug 19, 2024
ded92be
Fixup for CI regarding duplicate python3.11 test results. (- Fixes #3…
reactive-firewall Aug 19, 2024
2abeec2
House Keeping for PR #34
reactive-firewall Aug 20, 2024
e115972
Fixup for PR #60 to no-longer run python3.11 coverage twice in github…
reactive-firewall Aug 20, 2024
d7ddb6a
Merge branch 'stable' into master
reactive-firewall Aug 21, 2024
f5dad4c
Create dependabot.yml
reactive-firewall Sep 5, 2024
776159a
[STYLE] Apply suggestions from code review (- WIP #67 & PR #66 -)
reactive-firewall Sep 5, 2024
a67d225
[REGRESSION] Fix .github/dependabot.yml spacing (- WIP PR #66 -)
reactive-firewall Sep 5, 2024
7b9c177
[CI] Create dependabot.yml for version updating (#66)
reactive-firewall Sep 6, 2024
3d55912
[REGRESSION] Merge branch 'master' into Hotfix-114-D :speak_no_evil: …
reactive-firewall Sep 6, 2024
96453e7
[REGRESSION] Fixes the dependabot.yml file syntax to hopefully restor…
reactive-firewall Sep 6, 2024
591604f
[UPDATE] (deps): Bump ossf/scorecard-action in /.github/workflows
dependabot[bot] Sep 6, 2024
3fa44e5
[UPDATE] (deps): Bump ossf/scorecard-action from 2.3.1 to 2.4.0 in /.…
dependabot[bot] Sep 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
version: 1.0.{build}
version: 1.1.{build}
branches:
only:
- master
- stable
skip_tags: true
max_jobs: 1
image:
- Visual Studio 2017
- Visual Studio 2015
- Visual Studio 2022
- Visual Studio 2019
clone_depth: 50
init:
- cmd: >-
Expand Down
29 changes: 19 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ version: 2
jobs:
build:
docker:
- image: circleci/python:3.6.1
- image: circleci/python:3.7
- image: circleci/python:3.8
- image: cimg/python:3.7
- image: cimg/python:3.8
- image: cimg/python:3.9
- image: cimg/python:3.10
- image: cimg/python:3.11
- image: cimg/python:3.12
environment:
CI: cicleci
DEBIAN_FRONTEND: noninteractive
Expand Down Expand Up @@ -41,9 +44,12 @@ jobs:

test:
docker:
- image: circleci/python:3.6.1
- image: circleci/python:3.7
- image: circleci/python:3.8
- image: cimg/python:3.7
- image: cimg/python:3.8
- image: cimg/python:3.9
- image: cimg/python:3.10
- image: cimg/python:3.11
- image: cimg/python:3.12
parallelism: 2
environment:
CI: cicleci
Expand Down Expand Up @@ -88,9 +94,12 @@ jobs:

pytest:
docker:
- image: circleci/python:3.6.1
- image: circleci/python:3.7
- image: circleci/python:3.8
- image: cimg/python:3.7
- image: cimg/python:3.8
- image: cimg/python:3.9
- image: cimg/python:3.10
- image: cimg/python:3.11
- image: cimg/python:3.12
parallelism: 2
environment:
CI: cicleci
Expand Down Expand Up @@ -147,7 +156,7 @@ jobs:

lint:
docker:
- image: circleci/python:3.6.1
- image: cimg/python:3.11
environment:
CI: cicleci
DEBIAN_FRONTEND: noninteractive
Expand Down
37 changes: 32 additions & 5 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,44 @@
codecov:
notify:
wait_for_ci: true
require_ci_to_pass: true
comment:
behavior: default
layout: reach, diff, flags, files, footer
require_base: false
require_changes: false
require_head: true
show_carryforward_flags: false
coverage:
precision: 3
round: nearest
status:
changes: false
default_rules:
flag_coverage_not_uploaded_behavior: include
patch: true
project:
default: on
default:
target: 95%
base: auto
branches:
- master
- stable
if_ci_failed: ignore
only_pulls: false
removed_code_behavior: adjust_base
tests:
target: 80%
flags: tests
if_ci_failed: failure
only_pulls: false
removed_code_behavior: fully_covered_patch
flags:
- tests
paths:
- tests

github_checks:
annotations: true
flags:
tests:
paths:
- tests
joined: false
- tests
3 changes: 1 addition & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ include = pythonrepo*,tests*
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover

except Exception
except BaseException:
# Don't complain if tests don't hit defensive assertion code:
Expand All @@ -19,7 +18,7 @@ exclude_lines =
except OSError

# Don't complain if non-runnable code isn't run:
if __name__ in '__main__':
if __name__ in '__main__':

ignore_errors = True

43 changes: 43 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
version = 1

test_patterns = [
"tests/**,",
"tests/*.py",
".circleci/**",
"testcases/**"
]

exclude_patterns = [
"__pycache__/",
"*.pyc",
"*$py.class",
"*~",
"htmlcov/",
".tox/",
".coverage",
".coverage.*",
".cache",
"nosetests.xml",
"coverage.xml",
".coveralls.yml",
"codecov_env",
"*,cover",
".hypothesis/",
"docs/conf.py"
]

[[analyzers]]
name = "python"
enabled = true
dependency_file_paths = [
"requirements.txt",
"setup.py"
]

[analyzers.meta]
runtime_version = "3.x.x"
max_line_length = 100

[[analyzers]]
name = "test-coverage"
enabled = true
2 changes: 1 addition & 1 deletion .flake8.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
ignore = W191,W391
ignore = W191,W391,E117
max-line-length = 100
exclude =
# No need to traverse our git directory
Expand Down
76 changes: 76 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct for Python Template

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Unethical, malicious, or other 'Black-hat' hacking activity that harms the
overall security of the project
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at <ADMIN EMAIL>. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
Loading