Skip to content

Commit 7bd55e1

Browse files
Merge pull request #179 from petrobras/other_improvements
Other improvements
2 parents 2afdc6a + 8c587c5 commit 7bd55e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+301292
-679
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[black]: https://github.com/psf/black
1111
[black-shield]: https://img.shields.io/badge/code%20style-black-000000.svg
1212
[semver]: https://semver.org
13-
[semver-shield]: https://img.shields.io/badge/semver-2.0.0-blue
13+
[semver-shield]: https://img.shields.io/badge/semver-2.0.1-blue
1414

1515
# Welcome to the 3W Project contributing guide
1616

bin/lint

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ if [ "${CI}" = true ]; then
1515
# In CI, only check code formatting and linting with Ruff
1616
black --check ${LINT}
1717
ruff check ${LINT}
18-
ruff format --check ${LINT}
18+
uv run black --check .
1919
else
2020
# Locally, automatically fix formatting issues with Ruff
2121
black ${LINT}
22-
ruff format ${LINT}
22+
uv run black .
2323
ruff check --fix ${LINT}
24-
fi
24+
fi

bin/test

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ set -ex
33

44
cd $(dirname $0)/..
55

6-
export RUN_SLOW_TESTS=1
6+
: "${RUN_SLOW_TESTS:=0}" # If not set, default to 0
7+
echo "RUN_SLOW_TESTS is set to $RUN_SLOW_TESTS"
78

8-
coverage run -m pytest tests
9-
coverage report
10-
coverage xml -o docs/coverage/coverage.xml
9+
pytest tests

0 commit comments

Comments
 (0)