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

build(deps): bump stefanzweifel/git-auto-commit-action from 4 to 5 #22

Open
wants to merge 6 commits into
base: main
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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
tag: ${{ github.ref_name }}

- name: create Release
uses: ncipollo/release-action@v1.12.0
uses: ncipollo/release-action@v1.14.0
with:
allowUpdates: true
draft: false
Expand All @@ -96,7 +96,7 @@ jobs:
continue-on-error: true

- name: commit changelog
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: main
commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ repos:
- id: check-yaml

- repo: https://github.com/commitizen-tools/commitizen
rev: v3.15.0
rev: v3.21.3
hooks:
- id: commitizen

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
rev: v4.0.0-alpha.8
hooks:
- id: prettier
additional_dependencies: [prettier, prettier-plugin-toml, prettier-plugin-ini]
Expand All @@ -38,17 +38,17 @@ repos:
args: ["-d relaxed"]

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.0
rev: 0.28.1
hooks:
- id: check-github-workflows

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.15.2
hooks:
- id: pyupgrade

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.2
rev: v0.3.5
hooks:
- id: ruff
args: [ --fix ]
Expand Down
1 change: 1 addition & 0 deletions detectree/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""detectree init."""

from .classifier import Classifier, ClassifierTrainer
from .lidar import LidarToCanopy, rasterize_lidar
from .train_test_split import TrainingSelector
Expand Down
1 change: 1 addition & 0 deletions detectree/cli/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""detectree CLI."""

import logging
from os import path

Expand Down
1 change: 1 addition & 0 deletions detectree/image_descriptor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Compute image descriptors."""

import cv2
import numpy as np
from PIL import Image
Expand Down
1 change: 1 addition & 0 deletions detectree/lidar.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utilities to get canopy information from LiDAR data."""

import laspy
import numpy as np
import pandas as pd
Expand Down
7 changes: 4 additions & 3 deletions detectree/pixel_features.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Build pixel features."""

import glob
from os import path

Expand Down Expand Up @@ -184,9 +185,9 @@ def build_features_from_arr(self, img_rgb):
img_lab_l, ddepth=-1, kernel=oriented_kernel_arr
)
img_filtered_vec = img_filtered.flatten()
X[
:, self.num_color_features + i * self.num_orientations + j
] = img_filtered_vec
X[:, self.num_color_features + i * self.num_orientations + j] = (
img_filtered_vec
)

# entropy features
# tpf.compute_entropy_features(X_img[:, self.entropy_slice],
Expand Down
1 change: 1 addition & 0 deletions detectree/pixel_response.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Build pixel binary (tree/non-tree) responses."""

import glob
from os import path

Expand Down
1 change: 1 addition & 0 deletions detectree/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""detectree general utility functions."""

import datetime as dt
import itertools
import logging as lg
Expand Down
Loading