Skip to content
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

Resolve new linting rules from flake8 #2663

Merged
merged 2 commits into from Oct 6, 2022
Merged

Conversation

christophert
Copy link
Contributor

Description

Due to the addition of a new rule in flake8-bugbear (ref. PyCQA/flake8-bugbear#287), the test harness functions needed some parameter adjustment to pass linting.

This PR also removes the pyminizip pip requirement from core and moves it to the emu plugin which requires it when executing adversary emulation plans. See corresponding changes in mitre/emu#29 that should be merged along with this change.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Ran test harness locally and through pipeline to ensure functionality.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code

@sonarcloud
Copy link

sonarcloud bot commented Sep 29, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@elegantmoose elegantmoose merged commit 9cacbed into master Oct 6, 2022
@elegantmoose elegantmoose deleted the fix-test-harness-linting branch October 6, 2022 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants