Skip to content

Commit

Permalink
Write Sentinel queries to YAML for Github Browser (#491)
Browse files Browse the repository at this point in the history
* add code to write yaml files

* PR comment changes

* replace requests with httpx

* remove separate download

* add docs and parameter types

* remove unnecessary comment

* add tests and headers

* Remove old code file

* rename files

* remove unused imports

* black reformatting

* isort imports

* pylint adjustments

* update yaml loader for bandit checks

* try with no prospector in requirements-dev.txt

* test changes

* fix pytest errors

* test github pytest print

* test pytest again

* test pytest with file path changes

* test if directories are being listed out in pytest

* see what files are in the github runner

* check directory contents again

* list data available in testdata

* see contents of test data folder

* fix typo

* try different base_dir_test_folder

* check yaml_files

* test _import_sentinel_query output

* change split for _import_sentinel_query

* test import_sentinel_query

* see yaml file order

* check sample query in list instead of equal

* fix typo

* sort lists for equivalence in organize test

* try sort again

* test with no datetime.now() in metadata

* fix value unpacking error

* switch set to list to fix issue

* test getting_test_data

* pylint fixes

* check disabling certain pylint errors

* try pylint again

* fix mypy

* additional linting fixes

* fix flake8 trailing whitespace

* add author and version

* requested changes

* fix linting issues

* fix typerror

* fix linting pt 3

* test mypy

* test mypy pt 2

* try mypy pt 4

* mypy fix

---------

Co-authored-by: Jannie Li <jannieli@microsoft.com>
Co-authored-by: Pete Bryan <peter.bryan@microsoft.com>
Co-authored-by: Ian Hellen <ianhelle@microsoft.com>
  • Loading branch information
4 people committed May 22, 2023
1 parent bbfbc98 commit 9c9936e
Show file tree
Hide file tree
Showing 14 changed files with 1,096 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ repos:
entry: python -m tools.create_reqs_all
pass_filenames: False
language: python
types: [python]
types: [python]

0 comments on commit 9c9936e

Please sign in to comment.