devobs 0.3.0__tar.gz → 0.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. {devobs-0.3.0 → devobs-0.3.1}/.github/workflows/ci.yaml +1 -31
  2. {devobs-0.3.0 → devobs-0.3.1}/.github/workflows/release.yaml +1 -1
  3. {devobs-0.3.0 → devobs-0.3.1}/.pre-commit-config.yaml +1 -1
  4. {devobs-0.3.0 → devobs-0.3.1}/.pre-commit-hooks.yaml +3 -3
  5. {devobs-0.3.0 → devobs-0.3.1}/.vscode.example/settings.json +0 -1
  6. {devobs-0.3.0 → devobs-0.3.1}/CONTRIBUTING.md +0 -1
  7. {devobs-0.3.0 → devobs-0.3.1}/Cargo.lock +319 -415
  8. devobs-0.3.1/Cargo.toml +29 -0
  9. {devobs-0.3.0 → devobs-0.3.1}/Justfile +2 -7
  10. {devobs-0.3.0 → devobs-0.3.1}/PKG-INFO +1 -1
  11. {devobs-0.3.0 → devobs-0.3.1}/flake.lock +6 -6
  12. {devobs-0.3.0 → devobs-0.3.1}/tests/integration_test.rs +0 -1
  13. devobs-0.3.0/Cargo.toml +0 -29
  14. {devobs-0.3.0 → devobs-0.3.1}/.config/nextest.toml +0 -0
  15. {devobs-0.3.0 → devobs-0.3.1}/.devcontainer.example/devcontainer-lock.json +0 -0
  16. {devobs-0.3.0 → devobs-0.3.1}/.devcontainer.example/devcontainer.json +0 -0
  17. {devobs-0.3.0 → devobs-0.3.1}/.editorconfig +0 -0
  18. {devobs-0.3.0 → devobs-0.3.1}/.github/workflows/prepare-release.yaml +0 -0
  19. {devobs-0.3.0 → devobs-0.3.1}/.gitignore +0 -0
  20. {devobs-0.3.0 → devobs-0.3.1}/.rustfmt.toml +0 -0
  21. {devobs-0.3.0 → devobs-0.3.1}/.vscode.example/extensions.json +0 -0
  22. {devobs-0.3.0 → devobs-0.3.1}/.vscode.example/launch.json +0 -0
  23. {devobs-0.3.0 → devobs-0.3.1}/LICENSE +0 -0
  24. {devobs-0.3.0 → devobs-0.3.1}/README.md +0 -0
  25. {devobs-0.3.0 → devobs-0.3.1}/flake.nix +0 -0
  26. {devobs-0.3.0 → devobs-0.3.1}/pyproject.toml +0 -0
  27. {devobs-0.3.0 → devobs-0.3.1}/renovate.json +0 -0
  28. {devobs-0.3.0 → devobs-0.3.1}/rust-toolchain.toml +0 -0
  29. {devobs-0.3.0 → devobs-0.3.1}/src/commands/assert_diff.rs +0 -0
  30. {devobs-0.3.0 → devobs-0.3.1}/src/commands/check_file_pair.rs +0 -0
  31. {devobs-0.3.0 → devobs-0.3.1}/src/commands.rs +0 -0
  32. {devobs-0.3.0 → devobs-0.3.1}/src/main.rs +0 -0
  33. {devobs-0.3.0 → devobs-0.3.1}/src/utils/fs.rs +0 -0
  34. {devobs-0.3.0 → devobs-0.3.1}/src/utils.rs +0 -0
  35. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/mod.rs +0 -0
  36. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_assert_diff__changes_create-2.snap +0 -0
  37. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_assert_diff__changes_create.snap +0 -0
  38. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_assert_diff__changes_delete-2.snap +0 -0
  39. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_assert_diff__changes_delete.snap +0 -0
  40. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_assert_diff__changes_modify-2.snap +0 -0
  41. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_assert_diff__changes_modify.snap +0 -0
  42. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_assert_diff__empty_directory.snap +0 -0
  43. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_assert_diff__no_changes.snap +0 -0
  44. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_assert_diff__no_command_to_run.snap +0 -0
  45. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_assert_diff__nonexistent_directory.snap +0 -0
  46. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_assert_diff__on_command_error_ignore.snap +0 -0
  47. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_assert_diff__on_command_error_propagate.snap +0 -0
  48. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_check_file_pair__backward_matching.snap +0 -0
  49. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_check_file_pair__create_if_not_exists.snap +0 -0
  50. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_check_file_pair__create_if_not_exists_dry_run.snap +0 -0
  51. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_check_file_pair__empty_directory_no_error_no_output.snap +0 -0
  52. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_check_file_pair__forward_matching.snap +0 -0
  53. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/snapshots/integration_test__commands__test_check_file_pair__on_fully_populated_directory.snap +0 -0
  54. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/test_assert_diff.rs +0 -0
  55. {devobs-0.3.0 → devobs-0.3.1}/tests/commands/test_check_file_pair.rs +0 -0
  56. {devobs-0.3.0 → devobs-0.3.1}/tests/helpers.rs +0 -0
@@ -33,36 +33,6 @@ jobs:
33
33
  - name: Lint code
34
34
  run: cargo clippy --all-targets --all-features -- --deny warnings
35
35
 
36
- ub-check:
37
- name: UB Check
38
- runs-on: ubuntu-latest
39
- timeout-minutes: 15
40
- permissions:
41
- contents: read
42
- steps:
43
- - name: Checkout
44
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
45
-
46
- - name: Set up Rust toolchain
47
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
48
- with:
49
- build-warnings: ""
50
-
51
- - name: Install nightly toolchain
52
- run: rustup toolchain install nightly --profile minimal --component miri
53
-
54
- - name: Install devtools
55
- uses: taiki-e/install-action@1168f6810a3cb30a3514bf5756a3b7f0422c6df8 # v2.87.28
56
- with:
57
- tool: cargo-nextest
58
-
59
- - name: Run tests with Miri
60
- env:
61
- MIRIFLAGS: "-Zmiri-disable-isolation"
62
- run: |
63
- rustup run nightly cargo miri \
64
- nextest run --workspace --all-targets --all-features
65
-
66
36
  test:
67
37
  name: Test (${{ matrix.os }})
68
38
  runs-on: ${{ matrix.os }}
@@ -84,7 +54,7 @@ jobs:
84
54
  uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
85
55
 
86
56
  - name: Install devtools
87
- uses: taiki-e/install-action@1168f6810a3cb30a3514bf5756a3b7f0422c6df8 # v2.87.28
57
+ uses: taiki-e/install-action@8cca0918f8471c33515202b73f56ab27f2bed283 # v2.87.29
88
58
  with:
89
59
  tool: cargo-llvm-cov,cargo-nextest
90
60
 
@@ -116,6 +116,6 @@ jobs:
116
116
  run: ls -l --all --recursive dist
117
117
 
118
118
  - name: Publish release distributions to PyPI
119
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
119
+ uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
120
120
  with:
121
121
  skip-existing: true
@@ -12,7 +12,7 @@ repos:
12
12
 
13
13
  # Dogfooding
14
14
  - repo: https://github.com/lasuillard-s/devobs
15
- rev: v0.2.7
15
+ rev: v0.3.0
16
16
  hooks:
17
17
  # Ensure each command has its test file pair
18
18
  - id: check-file-pair
@@ -6,17 +6,17 @@
6
6
  name: devobs
7
7
  description: Run devobs commands using pipx
8
8
  language: system
9
- entry: pipx run 'devobs==0.3.0'
9
+ entry: pipx run 'devobs==0.3.1'
10
10
 
11
11
  # Shortcuts for each command for convenience
12
12
  - id: check-file-pair
13
13
  name: check-file-pair
14
14
  language: system
15
- entry: pipx run 'devobs==0.3.0' check-file-pair
15
+ entry: pipx run 'devobs==0.3.1' check-file-pair
16
16
  pass_filenames: false
17
17
 
18
18
  - id: assert-diff
19
19
  name: assert-diff
20
20
  language: system
21
- entry: pipx run 'devobs==0.3.0' assert-diff
21
+ entry: pipx run 'devobs==0.3.1' assert-diff
22
22
  pass_filenames: false
@@ -4,7 +4,6 @@
4
4
  },
5
5
  "rust-analyzer.cargo.cfgs": [
6
6
  "debug_assertions"
7
- // "miri"
8
7
  ],
9
8
  "rust-analyzer.rustfmt.extraArgs": [
10
9
  "+nightly"
@@ -17,7 +17,6 @@ This project uses the following tech stack:
17
17
  - [Rust](https://www.rust-lang.org)
18
18
  - [clap](https://docs.rs/clap/latest/clap/) for command-line parsing
19
19
  - [Clippy](https://doc.rust-lang.org/clippy/) for linting, and [rustfmt](https://github.com/rust-lang/rustfmt) for formatting
20
- - [Miri](https://github.com/rust-lang/miri) for undefined behavior checks
21
20
  - [cargo-nextest](https://nexte.st/) for test coverage and execution
22
21
 
23
22
  ### 📂 Key directory structure