bee-san / pyWhat

🐸 Identify anything. pyWhat easily lets you identify emails, IP addresses, and more. Feed it a .pcap file or some text and it'll tell you what it is! πŸ§™β€β™€οΈ
MIT License
6.52k stars 350 forks source link

Use the Flake8 Pytest plugin #220

Closed SkeletalDemise closed 2 years ago

SkeletalDemise commented 2 years ago

⚠ Pull Requests not made with this template will be automatically closed πŸ”₯

Prerequisites

Why do we need this pull request?

Adds the Flake8 Pytest plugin and removes the CI Pytest CLI version. This makes it like the other linters and it's easier for contributors to run.

What GitHub issues does this fix?

N/A

Copy / paste of output

N/A

codecov-commenter commented 2 years ago

Codecov Report

Merging #220 (67de66b) into main (85f74cd) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #220      +/-   ##
==========================================
+ Coverage   92.55%   92.57%   +0.01%     
==========================================
  Files          14       15       +1     
  Lines        1209     1212       +3     
==========================================
+ Hits         1119     1122       +3     
  Misses         90       90              
Impacted Files Coverage Ξ”
conftest.py 100.00% <100.00%> (ΓΈ)

Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update 85f74cd...67de66b. Read the comment docs.

bee-san commented 2 years ago

it's easier for contributors to run.

Why?

SkeletalDemise commented 2 years ago

it's easier for contributors to run.

Why?

Because now contributors can just run pytest to run all the tests including Flake8 instead of having to install Flake8 and run it separately with the CLI.

bee-san commented 2 years ago

image πŸ˜‰