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

Feature/cli #26

Merged
merged 60 commits into from
Oct 8, 2022
Merged

Feature/cli #26

merged 60 commits into from
Oct 8, 2022

Conversation

prez2307
Copy link
Collaborator

@prez2307 prez2307 commented Aug 1, 2022

FRED Command Line Interface Feature

zachspar and others added 20 commits June 26, 2022 13:57
* create api decorator to check valid args

* format files

* add args validation for releases

* add api arg validator for categories

* update required args for categories namespace

* add required args to tags namespace

* add validate args to sources apis

* add arg validation to series namespace

* add required args for series apis

* finish base implementation of all APIs, closes issue #4

* bump fred-py-api to 0.0.5 and update readme to point to wiki
* basic tests for categories namespace

* add basic tests for tags api

* add basic tests for sources api namespace

* create basic tests for releases api namespace

* add basic tests for series api namespace

* create test for decorators

* use src for tests

* first full test-suite of basic API functionality, closes issue #8

* new CI for lint and test package

* upgrade black in CI, use fred api key from GH secrets

* reformat files

* update CI only test for 3.9 & 3.10

* only run CI with python 3.10.x

* run ci using coverage

* add coverage upload

* add new job skeleton to CI

* upload to PyPI when publishing new release/prerelease
* basic tests for categories namespace

* add basic tests for tags api

* add basic tests for sources api namespace

* create basic tests for releases api namespace

* add basic tests for series api namespace

* create test for decorators

* use src for tests

* first full test-suite of basic API functionality, closes issue #8

* new CI for lint and test package

* upgrade black in CI, use fred api key from GH secrets

* reformat files

* update CI only test for 3.9 & 3.10

* only run CI with python 3.10.x

* run ci using coverage

* add coverage upload

* add new job skeleton to CI

* upload to PyPI when publishing new release/prerelease

* update readme
* add FRED urls to python docstrings

* update readme

* bump lib

* fix issue #15 by enforcing API length

* check alnum

* update tests

* reformat file

* rename top level packagename to fred
* add XML support, and associated test

* bump lib version to v0.1.1
@codecov-commenter
Copy link

codecov-commenter commented Aug 1, 2022

Codecov Report

Merging #26 (48afc27) into main (c15b84d) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        17    -1     
  Lines          466       534   +68     
=========================================
+ Hits           466       534   +68     
Impacted Files Coverage Δ
src/fred/api/_fred_client.py 100.00% <ø> (ø)
src/fred/_util/__init__.py 100.00% <100.00%> (ø)
src/fred/_util/cli.py 100.00% <100.00%> (ø)
src/fred/_util/decorators.py 100.00% <100.00%> (ø)
src/fred/api/__init__.py 100.00% <100.00%> (ø)
src/fred/cli/categories.py 100.00% <100.00%> (ø)
src/fred/cli/releases.py 100.00% <100.00%> (ø)
src/fred/cli/series.py 100.00% <100.00%> (ø)
src/fred/cli/sources.py 100.00% <100.00%> (ø)
src/fred/cli/tags.py 100.00% <100.00%> (ø)
... and 8 more

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

@zachspar zachspar added the enhancement New feature or request label Aug 1, 2022
@zachspar zachspar marked this pull request as draft August 1, 2022 02:04
@zachspar zachspar marked this pull request as ready for review October 8, 2022 21:28
@zachspar zachspar merged commit 3513e02 into main Oct 8, 2022
@zachspar zachspar deleted the feature/cli branch October 8, 2022 21:40
@zachspar zachspar mentioned this pull request Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants