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

Switch to ruff linter #50

Merged
merged 3 commits into from May 28, 2023
Merged

Switch to ruff linter #50

merged 3 commits into from May 28, 2023

Conversation

yunzheng
Copy link
Member

Change the pre-commit hook to use ruff instead of flake8.

For now only the isort linter has been enabled plus other ruff linters that did not cause any errors.

Enabled `isort` and other linters that did not cause a problem.
@codecov
Copy link

codecov bot commented May 28, 2023

Codecov Report

Merging #50 (3a2b24d) into main (4bbe48f) will decrease coverage by 0.04%.
The diff coverage is 75.92%.

@@            Coverage Diff             @@
##             main      #50      +/-   ##
==========================================
- Coverage   74.87%   74.83%   -0.04%     
==========================================
  Files          11       11              
  Lines        2547     2543       -4     
==========================================
- Hits         1907     1903       -4     
  Misses        640      640              
Flag Coverage Δ
unittests 74.83% <75.92%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
dissect/cobaltstrike/artifact.py 0.00% <0.00%> (ø)
dissect/cobaltstrike/pcap.py 0.00% <0.00%> (ø)
dissect/cobaltstrike/client.py 58.28% <90.90%> (-0.25%) ⬇️
dissect/cobaltstrike/beacon.py 92.21% <100.00%> (-0.04%) ⬇️
dissect/cobaltstrike/c2.py 88.10% <100.00%> (ø)
dissect/cobaltstrike/c2profile.py 87.66% <100.00%> (ø)
dissect/cobaltstrike/pe.py 92.50% <100.00%> (ø)
dissect/cobaltstrike/utils.py 73.82% <100.00%> (ø)
dissect/cobaltstrike/version.py 100.00% <100.00%> (ø)
dissect/cobaltstrike/xordecode.py 70.40% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@yunzheng yunzheng merged commit 24444e0 into main May 28, 2023
12 checks passed
@yunzheng yunzheng deleted the improvement/ruff branch May 28, 2023 13:36
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

1 participant