Astro
|
d8e8ab9c55
|
Merge pull request #47 from Artturin/fixclippybuild1
update nixpkgs input and fix clippy errors
|
2022-12-16 17:10:48 +01:00 |
|
Artturin
|
f6a9d64cec
|
update nixpkgs input and fix clippy errors
|
2022-12-14 19:43:09 +02:00 |
|
Astro
|
eed5036d24
|
Merge pull request #46 from Artturin/fixbuilderr
fix clippy error on nixos-unstable
|
2022-12-14 15:40:21 +01:00 |
|
Artturin
|
42d5a6997b
|
fix nonminimal_bool
warning: this boolean expression can be simplified
--> src/dead_code.rs:56:24
|
56 | if binding.is_mortal()
| ________________________^
57 | | && !(self.no_underscore && binding.name.as_str().starts_with('_'))
58 | | && !(self.no_lambda_pattern_names && scope.is_lambda_pattern_name(&binding.name))
59 | | && !scope.bodies().any(|body| {
... |
65 | | usage::find(&binding.name, &body)
66 | | }) {
| |______________________^
|
= note: `#[warn(clippy::nonminimal_bool)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
help: try
|
56 ~ if !(!binding.is_mortal() || scope.bodies().any(|body| {
57 + // exclude this binding's own node
58 + body != binding.body_node &&
59 + // excluding already unused results
60 + dead.get(&body).is_none() &&
61 + // find if used anywhere
62 + usage::find(&binding.name, &body)
63 ~ }) || self.no_underscore && binding.name.as_str().starts_with('_') || self.no_lambda_pattern_names && scope.is_lambda_pattern_name(&binding.name)) {
|
|
2022-12-13 21:53:18 +02:00 |
|
Artturin
|
457c698a65
|
run 'cargo fmt'
|
2022-12-13 21:50:35 +02:00 |
|
Artturin
|
d5199d0015
|
fix clippy error on nixos-unstable
|
2022-12-13 21:46:19 +02:00 |
|
Astro
|
901f6c741d
|
Merge pull request #45 from astro/dependabot/github_actions/DeterminateSystems/update-flake-lock-15
build(deps): bump DeterminateSystems/update-flake-lock from 14 to 15
|
2022-12-05 20:25:08 +01:00 |
|
dependabot[bot]
|
889947e908
|
build(deps): bump DeterminateSystems/update-flake-lock from 14 to 15
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 14 to 15.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v14...v15)
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-12-05 18:07:47 +00:00 |
|
Astro
|
894506ca23
|
Merge pull request #44 from l0b0/feat/pre-commit-hook
feat: Provide pre-commit hook configuration and docs
|
2022-12-05 14:25:53 +01:00 |
|
Victor Engmark
|
60af7e9880
|
feat: Provide pre-commit hook configuration and docs
|
2022-12-05 22:09:19 +13:00 |
|
Astro
|
29303ce4c0
|
Merge pull request #43 from Artturin/flakeimp
flake.nix: improve
|
2022-11-27 19:38:04 +01:00 |
|
Artturin
|
7419804f9f
|
flake.nix: improve
used https://github.com/nix-community/comma/blob/master/flake.nix as a
base
|
2022-11-27 20:22:18 +02:00 |
|
Astro
|
42f1a0b539
|
Merge pull request #42 from toastal/read
README fixups
|
2022-11-05 14:33:26 +01:00 |
|
toastal
|
d545db1dbc
|
Update the example.nix example block in README
|
2022-11-05 16:42:31 +07:00 |
|
toastal
|
111c59f886
|
Update help text in README
|
2022-11-05 16:37:32 +07:00 |
|
toastal
|
b5fcdcebc7
|
Use console syntax for shell session blocks
|
2022-11-05 16:36:01 +07:00 |
|
dependabot[bot]
|
f2c3cf8520
|
build(deps): bump cachix/cachix-action from 10 to 12
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 10 to 12.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v10...v12)
---
updated-dependencies:
- dependency-name: cachix/cachix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-10-31 18:20:34 +00:00 |
|
Astro
|
e351b88257
|
main: delint
|
2022-10-13 03:28:57 +02:00 |
|
Astro
|
592cbab937
|
main: delint
|
2022-10-13 02:29:09 +02:00 |
|
Astro
|
b25358c68e
|
Cargo.toml: bump version to 1.0.0
|
2022-10-12 23:39:43 +02:00 |
|
Astro
|
63bff564f2
|
format errors as json
Fixes Github issue #38
|
2022-10-12 23:37:49 +02:00 |
|
Astro
|
b4cf00629a
|
fix --help
|
2022-10-12 23:27:49 +02:00 |
|
Astro
|
9fc38108e5
|
add enum OutputFormat
|
2022-10-12 23:01:33 +02:00 |
|
Astro
|
af34db5e73
|
update dependency clap: 3 -> 4
|
2022-10-12 22:45:04 +02:00 |
|
Astro
|
b3cc8f6fe1
|
Cargo.lock: update
|
2022-10-12 22:45:04 +02:00 |
|
Astro
|
a379c1c8dd
|
flake.lock: Update
Flake lock file updates:
• Updated input 'fenix':
'github:nix-community/fenix/6743ada281fa6c1d5448ef8785931d6bfea635de' (2022-09-13)
→ 'github:nix-community/fenix/40b9fa9acfa71caa304de9a2d07a937023b68143' (2022-10-10)
• Updated input 'fenix/nixpkgs':
'github:nixos/nixpkgs/c97e777ff06fcb8d37dcdf5e21e9eff1f34f0e90' (2022-09-11)
→ 'github:nixos/nixpkgs/c5924154f000e6306030300592f4282949b2db6c' (2022-10-08)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/2e9f1204ca01c3e20898d4a67c8b84899d394a88' (2022-09-11)
→ 'github:rust-lang/rust-analyzer/61504c8d951c566eb03037dcb300c96f4bd9a8b6' (2022-10-08)
• Updated input 'naersk/nixpkgs':
'github:NixOS/nixpkgs/a0b7e70db7a55088d3de0cc370a59f9fbcc906c3' (2022-09-11)
→ 'github:NixOS/nixpkgs/14ccaaedd95a488dd7ae142757884d8e125b3363' (2022-10-09)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/a0b7e70db7a55088d3de0cc370a59f9fbcc906c3' (2022-09-11)
→ 'github:NixOS/nixpkgs/14ccaaedd95a488dd7ae142757884d8e125b3363' (2022-10-09)
|
2022-10-12 22:45:04 +02:00 |
|
Astro
|
7efddae8ce
|
Merge pull request #35 from astro/dependabot/github_actions/DeterminateSystems/update-flake-lock-14
build(deps): bump DeterminateSystems/update-flake-lock from 13 to 14
|
2022-09-24 02:50:00 +02:00 |
|
dependabot[bot]
|
4549e69fec
|
build(deps): bump DeterminateSystems/update-flake-lock from 13 to 14
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 13 to 14.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v13...v14)
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-09-19 18:16:25 +00:00 |
|
Astro
|
d8cd3d34e2
|
Cargo.toml: bump version to 0.1.8
|
2022-09-13 23:47:15 +02:00 |
|
Astro
|
aea39ae755
|
Cargo.lock: update dependencies
|
2022-09-13 23:47:15 +02:00 |
|
Astro
|
9b96c22574
|
flake.lock: Update
Flake lock file updates:
• Updated input 'fenix':
'github:nix-community/fenix/b5b70debeb3c2f93186eaed7de13674b9783b9d2' (2022-09-07)
→ 'github:nix-community/fenix/6743ada281fa6c1d5448ef8785931d6bfea635de' (2022-09-13)
• Updated input 'fenix/nixpkgs':
'github:nixos/nixpkgs/2da64a81275b68fdad38af669afeda43d401e94b' (2022-09-01)
→ 'github:nixos/nixpkgs/c97e777ff06fcb8d37dcdf5e21e9eff1f34f0e90' (2022-09-11)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/6dfd8aebdfa1ee1824446f01daf5bdb229b32f92' (2022-09-05)
→ 'github:rust-lang/rust-analyzer/2e9f1204ca01c3e20898d4a67c8b84899d394a88' (2022-09-11)
• Updated input 'naersk/nixpkgs':
'github:NixOS/nixpkgs/21de2b973f9fee595a7a1ac4693efff791245c34' (2022-09-02)
→ 'github:NixOS/nixpkgs/a0b7e70db7a55088d3de0cc370a59f9fbcc906c3' (2022-09-11)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/21de2b973f9fee595a7a1ac4693efff791245c34' (2022-09-02)
→ 'github:NixOS/nixpkgs/a0b7e70db7a55088d3de0cc370a59f9fbcc906c3' (2022-09-11)
|
2022-09-13 23:47:15 +02:00 |
|
Astro
|
079e5fbb3c
|
Merge pull request #34 from zimbatm/only-write-on-change
edit: fix tests
|
2022-09-13 22:42:19 +02:00 |
|
zimbatm
|
927b572c3a
|
edit: fix tests
Fix the tests broken by #33. Since I was touching all the tests, might
as well macro it up.
|
2022-09-13 22:15:54 +02:00 |
|
Astro
|
fd524057cb
|
Merge pull request #33 from zimbatm/only-write-on-change
edit: only write to files that have changed
|
2022-09-13 22:00:21 +02:00 |
|
zimbatm
|
426d1e15aa
|
edit: only write to files that have changed
This speeds up the tool on large code bases, and avoids breaking tools
that track mtimes such as make and treefmt.
|
2022-09-13 21:44:17 +02:00 |
|
Astro
|
0abe634606
|
Cargo.toml: bump version to 0.1.7
|
2022-09-08 18:17:09 +02:00 |
|
Astro
|
4f4a3cdea5
|
Cargo.lock: update
|
2022-09-08 18:16:19 +02:00 |
|
Astro
|
094012da11
|
flake.lock: Update
Flake lock file updates:
• Updated input 'fenix':
'github:nix-community/fenix/b6630603af13df17d0dd4df8629e9a24e6ba0fbd' (2022-06-18)
→ 'github:nix-community/fenix/b5b70debeb3c2f93186eaed7de13674b9783b9d2' (2022-09-07)
• Updated input 'fenix/nixpkgs':
'github:nixos/nixpkgs/3d7435c638baffaa826b85459df0fff47f12317d' (2022-06-16)
→ 'github:nixos/nixpkgs/2da64a81275b68fdad38af669afeda43d401e94b' (2022-09-01)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/12dd81092e37df28b7a3591cae9675e668927198' (2022-06-17)
→ 'github:rust-lang/rust-analyzer/6dfd8aebdfa1ee1824446f01daf5bdb229b32f92' (2022-09-05)
• Updated input 'naersk':
'github:nix-community/naersk/cddffb5aa211f50c4b8750adbec0bbbdfb26bb9f' (2022-06-12)
→ 'github:nix-community/naersk/6944160c19cb591eb85bbf9b2f2768a935623ed3' (2022-09-03)
• Updated input 'naersk/nixpkgs':
'github:NixOS/nixpkgs/103a4c0ae46afa9cf008c30744175315ca38e9f9' (2022-06-17)
→ 'github:NixOS/nixpkgs/21de2b973f9fee595a7a1ac4693efff791245c34' (2022-09-02)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/103a4c0ae46afa9cf008c30744175315ca38e9f9' (2022-06-17)
→ 'github:NixOS/nixpkgs/21de2b973f9fee595a7a1ac4693efff791245c34' (2022-09-02)
• Updated input 'utils':
'github:numtide/flake-utils/1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1' (2022-05-30)
→ 'github:numtide/flake-utils/c0e246b9b83f637f4681389ecabcb2681b4f3af0' (2022-08-07)
|
2022-09-08 18:16:19 +02:00 |
|
Astro
|
512f8803aa
|
Merge pull request #32 from ilkecan/ignore-directories
walkdir: filter out directories after descending into them
|
2022-09-08 17:26:07 +02:00 |
|
ilkecan
|
6067ff323e
|
walkdir: filter out directories after descending into them
|
2022-09-08 00:36:25 +00:00 |
|
Astro
|
04a48e1568
|
Merge pull request #31 from astro/dependabot/github_actions/DeterminateSystems/update-flake-lock-13
build(deps): bump DeterminateSystems/update-flake-lock from 10 to 13
|
2022-08-28 01:43:32 +02:00 |
|
dependabot[bot]
|
a1e62c7a22
|
build(deps): bump DeterminateSystems/update-flake-lock from 10 to 13
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 10 to 13.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v10...v13)
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-08-22 18:16:32 +00:00 |
|
Astro
|
9f450f7250
|
Merge pull request #29 from astro/dependabot/github_actions/DeterminateSystems/update-flake-lock-10
build(deps): bump DeterminateSystems/update-flake-lock from 9 to 10
|
2022-06-28 00:48:34 +02:00 |
|
dependabot[bot]
|
8cc7c7c151
|
build(deps): bump DeterminateSystems/update-flake-lock from 9 to 10
Bumps [DeterminateSystems/update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) from 9 to 10.
- [Release notes](https://github.com/DeterminateSystems/update-flake-lock/releases)
- [Commits](https://github.com/DeterminateSystems/update-flake-lock/compare/v9...v10)
---
updated-dependencies:
- dependency-name: DeterminateSystems/update-flake-lock
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-06-27 18:32:30 +00:00 |
|
Astro
|
83c42cc64d
|
Cargo.lock: Update
|
2022-06-19 16:10:09 +02:00 |
|
Astro
|
5b3b0c5966
|
flake.lock: Update
Flake lock file updates:
• Updated input 'fenix':
'github:nix-community/fenix/f90a687d4f8a29ed1774f482a5fc9d8409687a43' (2022-06-13)
→ 'github:nix-community/fenix/b6630603af13df17d0dd4df8629e9a24e6ba0fbd' (2022-06-18)
• Updated input 'fenix/nixpkgs':
'github:nixos/nixpkgs/90cd5459a1fd707819b9a3fb9c852beaaac3b79a' (2022-06-11)
→ 'github:nixos/nixpkgs/3d7435c638baffaa826b85459df0fff47f12317d' (2022-06-16)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/366bd7242ed00c65f293497a26eb81c7510ac682' (2022-06-12)
→ 'github:rust-lang/rust-analyzer/12dd81092e37df28b7a3591cae9675e668927198' (2022-06-17)
• Updated input 'naersk/nixpkgs':
'github:NixOS/nixpkgs/e1a1cfb56504d1b82a3953bfb0632b37a1ca8d30' (2022-06-13)
→ 'github:NixOS/nixpkgs/103a4c0ae46afa9cf008c30744175315ca38e9f9' (2022-06-17)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/e1a1cfb56504d1b82a3953bfb0632b37a1ca8d30' (2022-06-13)
→ 'github:NixOS/nixpkgs/103a4c0ae46afa9cf008c30744175315ca38e9f9' (2022-06-17)
|
2022-06-19 01:39:40 +02:00 |
|
Astro
|
da50539a23
|
Cargo.toml: bump version to 0.1.6
|
2022-06-19 01:35:39 +02:00 |
|
Astro
|
f5a9c7a6b1
|
make lambda attrsets always mortal
Fixes Github issue #24
|
2022-06-13 19:16:22 +02:00 |
|
Astro
|
d95c1ec470
|
default to "." for FILE_PATHS
Fixes Github issue #27
|
2022-06-13 18:42:10 +02:00 |
|
Astro
|
b293cb877e
|
flake.lock: Update
Flake lock file updates:
• Updated input 'fenix':
'github:nix-community/fenix/c7e184561fe843abb861cd7d22c23066987078e2' (2022-04-06)
→ 'github:nix-community/fenix/f90a687d4f8a29ed1774f482a5fc9d8409687a43' (2022-06-13)
• Updated input 'fenix/nixpkgs':
'github:nixos/nixpkgs/bc4b9eef3ce3d5a90d8693e8367c9cbfc9fc1e13' (2022-04-03)
→ 'github:nixos/nixpkgs/90cd5459a1fd707819b9a3fb9c852beaaac3b79a' (2022-06-11)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-analyzer/rust-analyzer/2366d8e05f5f3585f95058fa7427cbde079914ed' (2022-04-05)
→ 'github:rust-lang/rust-analyzer/366bd7242ed00c65f293497a26eb81c7510ac682' (2022-06-12)
• Updated input 'naersk':
'github:nix-community/naersk/d626f73332a8f587b613b0afe7293dd0777be07d' (2022-04-04)
→ 'github:nix-community/naersk/cddffb5aa211f50c4b8750adbec0bbbdfb26bb9f' (2022-06-12)
• Updated input 'naersk/nixpkgs':
'github:NixOS/nixpkgs/30d3d79b7d3607d56546dd2a6b49e156ba0ec634' (2022-03-25)
→ 'github:NixOS/nixpkgs/e1a1cfb56504d1b82a3953bfb0632b37a1ca8d30' (2022-06-13)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/30d3d79b7d3607d56546dd2a6b49e156ba0ec634' (2022-03-25)
→ 'github:NixOS/nixpkgs/e1a1cfb56504d1b82a3953bfb0632b37a1ca8d30' (2022-06-13)
• Updated input 'utils':
'github:numtide/flake-utils/0f8662f1319ad6abf89b3380dd2722369fc51ade' (2022-03-26)
→ 'github:numtide/flake-utils/1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1' (2022-05-30)
|
2022-06-13 18:42:10 +02:00 |
|