Commit Graph

16 Commits

Author SHA1 Message Date
Gaetan Lepage
8562da7f31 ruff: 0.7.0 -> 0.7.1
Diff: https://github.com/astral-sh/ruff/compare/refs/tags/0.7.0...0.7.1

Changelog: https://github.com/astral-sh/ruff/releases/tag/0.7.1
2024-10-25 18:01:40 +02:00
Arthur Gautier
6f3c4aabc1 ruff: move to buildPythonPackage 2024-10-24 15:36:58 -07:00
Gaetan Lepage
fe23a39256 ruff: 0.6.9 -> 0.7.0
Diff: https://github.com/astral-sh/ruff/compare/refs/tags/0.6.9...0.7.0

Changelog: https://github.com/astral-sh/ruff/releases/tag/0.7.0
2024-10-17 21:41:43 +02:00
Gaetan Lepage
c6e0f3d20c ruff: 0.6.8 -> 0.6.9
Diff: https://github.com/astral-sh/ruff/compare/refs/tags/0.6.8...0.6.9

Changelog: https://github.com/astral-sh/ruff/releases/tag/0.6.9
2024-10-04 16:13:00 +02:00
Gaetan Lepage
8f609d2ef0 ruff: 0.6.7 -> 0.6.8
Diff: https://github.com/astral-sh/ruff/compare/refs/tags/0.6.7...0.6.8

Changelog: https://github.com/astral-sh/ruff/releases/tag/0.6.8
2024-09-26 17:05:33 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Gaetan Lepage
5b6c4e972b ruff: 0.6.6 -> 0.6.7
Diff: https://github.com/astral-sh/ruff/compare/refs/tags/0.6.6...0.6.7

Changelog: https://github.com/astral-sh/ruff/releases/tag/0.6.7
2024-09-22 12:23:15 +02:00
Gaetan Lepage
010dfa5066 ruff: 0.6.5 -> 0.6.6
Diff: https://github.com/astral-sh/ruff/compare/refs/tags/0.6.5...0.6.6

Changelog: https://github.com/astral-sh/ruff/releases/tag/0.6.6
2024-09-20 08:12:45 +02:00
Gaetan Lepage
ec1e6cd048 ruff: 0.6.4 -> 0.6.5
Diff: https://github.com/astral-sh/ruff/compare/refs/tags/0.6.4...0.6.5

Changelog: https://github.com/astral-sh/ruff/releases/tag/0.6.5
2024-09-15 11:57:36 +02:00
Gaetan Lepage
7ddcfacdbe ruff: 0.6.3 -> 0.6.4
Diff: https://github.com/astral-sh/ruff/compare/refs/tags/0.6.3...0.6.4

Changelog: https://github.com/astral-sh/ruff/releases/tag/0.6.4
2024-09-06 10:46:56 +02:00
Gaetan Lepage
976d530753 ruff: 0.6.2 -> 0.6.3
Diff: https://github.com/astral-sh/ruff/compare/refs/tags/0.6.2...0.6.3

Changelog: https://github.com/astral-sh/ruff/releases/tag/0.6.3
2024-08-29 17:22:28 +02:00
Gaetan Lepage
c7e761e075 ruff: format 2024-08-22 18:43:54 +02:00
Gaetan Lepage
558293e209 ruff: 0.6.1 -> 0.6.2
Diff: https://github.com/astral-sh/ruff/compare/refs/tags/0.6.1...0.6.2

Changelog: https://github.com/astral-sh/ruff/releases/tag/0.6.2
2024-08-22 18:43:54 +02:00
Gaetan Lepage
0e6a73c007 ruff: 0.6.0 -> 0.6.1
Diff: https://github.com/astral-sh/ruff/compare/refs/tags/0.6.0...0.6.1

Changelog: https://github.com/astral-sh/ruff/releases/tag/0.6.1
2024-08-16 22:27:09 +02:00
Gaetan Lepage
9aae4ad367 ruff: 0.5.7 -> 0.6.0
Diff: https://github.com/astral-sh/ruff/compare/refs/tags/0.5.7...0.6.0

Changelog: https://github.com/astral-sh/ruff/releases/tag/0.6.0
2024-08-15 14:58:39 +02:00
Gaetan Lepage
415796c61d ruff: move to pkgs/by-name 2024-08-15 14:57:32 +02:00