Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#50)
Browse files Browse the repository at this point in the history
* Develop library (#30)

* Update pypi.yml

* Update pypi.yml

* fix: mencoba menggunakan ke branch release (#18)

Signed-off-by: slowy07 <[email protected]>

* Update pypi.yml

* chore: merubah branch release (#19)

* fix: mencoba menggunakan ke branch release

Signed-off-by: slowy07 <[email protected]>

* chore: merubah branch release

merubah branch release menjadi `develop-library` dan hasil dari branch
ini akan di push ke main untuk upload package ke pypi

Signed-off-by: slowy07 <[email protected]>

* docs: menambahkan dokumentasi tentang branch

Signed-off-by: slowy07 <[email protected]>

* docs: memperbaiki dokumentasi dari CONTRIBUTING.md

Signed-off-by: slowy07 <[email protected]>

* fix: mengubah konfigurasi dari mergify

Signed-off-by: slowy07 <[email protected]>

---------

Signed-off-by: slowy07 <[email protected]>

* Barometrik (#20)

* fix: mencoba menggunakan ke branch release

Signed-off-by: slowy07 <[email protected]>

* feat: menambahkan ketinggian barometrik

menghitung ketinggian dengan menggunakan rumus barometrik, menggunakan
daripada menggunakan prinsip penurunan tekanan udara dengan meningkatnya ketinggian

rumus:
kettingian = 44330 * [1 - (P/p0)^(1/5.255)
dimana:
p = tekanan yang sudah terukur
p0 = tekanan udara standard pada permukaan laut (101325 Pa)

Signed-off-by: slowy07 <[email protected]>

---------

Signed-off-by: slowy07 <[email protected]>

* chore: menambahakan natural language indonesia (#21)

Signed-off-by: slowy07 <[email protected]>

* feat: menambahkan fungsi euler pi (#22)

Signed-off-by: slowy07 <[email protected]>

* feat: upgrade dari error handling (#23)

* feat: mengganti fitur dari error handling

Signed-off-by: slowy07 <[email protected]>

* fix: memperbaiki dari mypy typehinting

Signed-off-by: slowy07 <[email protected]>

---------

Signed-off-by: slowy07 <[email protected]>

* feat: meanambahkan fungsi fisika (#24)

menambahkan beberapa fungsi dari
- efek doppler
- gaya sentripental

Signed-off-by: slowy07 <[email protected]>

* feat: menambahkan utils.error dan fungsi sigmoid

Signed-off-by: slowy07 <[email protected]>

* docs: menambahkan dokumentasi docstring (#25)

Signed-off-by: slowy07 <[email protected]>

* feat: dockerize for testing OpenSeries (#28)

* feat: dockerize for testing OpenSeries

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix: for named files

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* feat: deploy to pypi (#29)

Signed-off-by: slowy07 <[email protected]>

---------

Signed-off-by: slowy07 <[email protected]>
Co-authored-by: Rull <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.2.0](astral-sh/ruff-pre-commit@v0.1.14...v0.2.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: slowy07 <[email protected]>
Co-authored-by: arfy slowy <[email protected]>
Co-authored-by: Rull <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 5, 2024
1 parent be19000 commit 1ba79f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:

# ruff adalah salah satu linter dan formatter kode
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.14
rev: v0.2.0
hooks:
- id: ruff
- id: ruff-format
Expand Down
3 changes: 1 addition & 2 deletions OpenSeries/util/error.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# - menangani error terkait indeks saat melakukan indexing pada struktur data
# - menangani error terkait dengan validasi dari values
# - menampilkan error saat mencoba dengan pembagian dengan error

from OpenSeries.util import constant as warna


Expand Down Expand Up @@ -73,7 +72,7 @@ class ErrorValue(ValueError):
"""

def __init__(self, pesan: str):
message = f"{warna.red}Error Value:{warna.reset_warna} {pesan}"
message = f"{warna.red}Error:{warna.reset_warna} {pesan}"
super().__init__(message)


Expand Down

0 comments on commit 1ba79f2

Please sign in to comment.