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

[pre-commit.ci] pre-commit autoupdate #140

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
rev: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/PyCQA/isort
rev: 5.9.2
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
rev: 6.0.0
hooks:
- id: flake8
- repo: https://github.com/PyCQA/bandit
rev: 1.7.0
rev: 1.7.4
hooks:
- id: bandit
- repo: https://github.com/PyCQA/pylint
rev: v2.9.3
rev: v2.16.2
hooks:
- id: pylint
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,3 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ services:
- "8000:8000"
volumes:
- ./artifacts:/mnt/artifacts

1 change: 0 additions & 1 deletion dump.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1505,4 +1505,3 @@ ALTER TABLE ONLY agdc.dataset_type
--
-- PostgreSQL database dump complete
--

2 changes: 1 addition & 1 deletion locust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ RUN set -ex \
&& pip install -r /requirements.txt

EXPOSE 8089/tcp
CMD locust -f /mnt/locust/locustfile.py --config=/mnt/locust/locust.conf
CMD locust -f /mnt/locust/locustfile.py --config=/mnt/locust/locust.conf
2 changes: 1 addition & 1 deletion locust/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ services:
build: .
volumes:
- ./:/mnt/locust
command: -f /mnt/locust/locustfile.py --worker --master-host master
command: -f /mnt/locust/locustfile.py --worker --master-host master
2 changes: 1 addition & 1 deletion locust/locustfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ def get_test_data():



# https://ows.dev.dea.ga.gov.au/wps/?service=WPS&request=Execute
# https://ows.dev.dea.ga.gov.au/wps/?service=WPS&request=Execute
2 changes: 1 addition & 1 deletion locust/request_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
<wps:ResponseForm>
<wps:ResponseDocument storeExecuteResponse="true" status="true"/>
</wps:ResponseForm>
</wps:Execute>
</wps:Execute>
10 changes: 5 additions & 5 deletions setup-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ if [ ! -f dump.sql ]; then

stac () { curl -s "$index/stac/search?collections=$1&datetime=$2T00:00:00Z/$3T00:00:00Z&bbox=$4&limit=500" |
jq '.features[].links[] | select(.rel == "odc_yaml") | .href'; }

{
stac ga_ls_wo_3 2000-01-01 2001-01-01 "137.01,-28.76,137.02,-28.75"
stac ga_ls_wo_3 2000-01-01 2001-01-01 "137.01,-28.76,137.02,-28.75"

stac "ga_ls8c_ard_3,ga_ls7e_ard_3,ga_ls_fc_3,ga_ls_wo_3" 2019-03-01 2019-08-01 "146.65,-36.16,147.29,-35.66"

stac mangrove_cover 2000-01-01 2006-01-01 "143.98,-14.69,144.27,-14.39"

} | xargs -L1 $cmd -v dataset add --confirm-ignore-lineage
Expand All @@ -33,7 +33,7 @@ if [ ! -f dump.sql ]; then

else

echo Reusing cache..
echo Reusing cache..

docker-compose exec -T -u postgres postgres psql < dump.sql

Expand Down