Skip to content

Commit

Permalink
Adjusting pyproject for mypy stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
atropos112 committed Jun 9, 2024
1 parent 758c160 commit 19ca40a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 46 deletions.
58 changes: 12 additions & 46 deletions devenv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"devenv": {
"locked": {
"dir": "src/modules",
"lastModified": 1713968789,
"lastModified": 1717245169,
"owner": "cachix",
"repo": "devenv",
"rev": "b26b52a4dac68bdc305f6b9df948c97f49b2c3ee",
"treeHash": "4a034bbd3511c196f4075a1eb0da1b422d1011db",
"rev": "c3f9f053c077c6f88a3de5276d9178c62baa3fc3",
"treeHash": "ffc7c20cef5242169763c872296f00a8a8b5416d",
"type": "github"
},
"original": {
Expand All @@ -33,24 +33,6 @@
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1710146030,
"owner": "numtide",
"repo": "flake-utils",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"treeHash": "bd263f021e345cb4a39d80c126ab650bebc3c10c",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
Expand All @@ -74,11 +56,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1714076141,
"lastModified": 1716948383,
"owner": "nixos",
"repo": "nixpkgs",
"rev": "7bb2ccd8cdc44c91edba16c48d2c8f331fb3d856",
"treeHash": "1521d442c07c187d2adcb7438d52d73fdbda591d",
"rev": "ad57eef4ef0659193044870c731987a6df5cf56b",
"treeHash": "42f53ebd7efd135063c9b5ab1bb39c8ae617ba07",
"type": "github"
},
"original": {
Expand All @@ -90,11 +72,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1713995372,
"lastModified": 1716991068,
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "dd37924974b9202f8226ed5d74a252a9785aedf8",
"treeHash": "8114bf8e19ad8c67c0e2639b83c606c58c7bccec",
"rev": "25cf937a30bf0801447f6bf544fc7486c6309234",
"treeHash": "67d550c2b5e96c6c1e2b317c54a37b4ca5fef106",
"type": "github"
},
"original": {
Expand All @@ -107,19 +89,18 @@
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"flake-utils": "flake-utils",
"gitignore": "gitignore",
"nixpkgs": [
"nixpkgs"
],
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1713954846,
"lastModified": 1716213921,
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "6fb82e44254d6a0ece014ec423cb62d92435336f",
"treeHash": "a456512c8da29752b79131f1e5b45053e2394078",
"rev": "0e8fcc54b842ad8428c9e705cb5994eaf05c26a0",
"treeHash": "17b9f9f9983467bcff247b09761dca9831d3d3be",
"type": "github"
},
"original": {
Expand All @@ -134,21 +115,6 @@
"nixpkgs": "nixpkgs",
"pre-commit-hooks": "pre-commit-hooks"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"treeHash": "cce81f2a0f0743b2eb61bc2eb6c7adbe2f2c6beb",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
Expand Down
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,12 @@ line-length = 140
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
disable_error_code = [
"truthy-bool",
"truthy-iterable",
"no-untyped-usage",
"possibly-undefined",
"explicit-override",
"redundant-expr",
"no-any-expr",
]

0 comments on commit 19ca40a

Please sign in to comment.