Skip to content

Commit

Permalink
project: Fix doc typos
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Aug 15, 2024
1 parent bdbf779 commit cfc19df
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/project.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ lib.fix (self: {
Type: loadPDMPyproject :: AttrSet -> AttrSet
Example:
# loadPyproject { pyproject = lib.importTOML }
# loadPyproject { projectRoot = ./.; }
{
dependencies = { }; # Parsed dependency structure in the schema of `lib.pep621.parseDependencies`
build-systems = [ ]; # Returned by `lib.pep518.parseBuildSystems`
Expand Down Expand Up @@ -77,7 +77,7 @@ lib.fix (self: {
Type: loadPoetryPyproject :: AttrSet -> AttrSet
Example:
# loadPoetryPyproject { pyproject = lib.importTOML }
# loadPoetryPyproject { projectRoot = ./.; }
{
dependencies = { }; # Parsed dependency structure in the schema of `lib.pep621.parseDependencies`
build-systems = [ ]; # Returned by `lib.pep518.parseBuildSystems`
Expand All @@ -92,7 +92,7 @@ lib.fix (self: {
pyproject ? lib.importTOML (projectRoot + "/pyproject.toml")
, # Path to project root
projectRoot ? null
, # The unmarshaled contents of pyproject.toml
, # The unmarshaled contents of poetry.lock
poetryLock ? lib.importTOML (projectRoot + "/poetry.lock")
,
}:
Expand All @@ -116,7 +116,7 @@ lib.fix (self: {
Type: loadRequirementsTxt :: AttrSet -> AttrSet
Example:
# loadRequirementstxt { requirements = builtins.readFile ./requirements.txt; root = ./.; }
# loadRequirementstxt { requirements = builtins.readFile ./requirements.txt; projectRoot = ./.; }
{
dependencies = { }; # Parsed dependency structure in the schema of `lib.pep621.parseDependencies`
build-systems = [ ]; # Returned by `lib.pep518.parseBuildSystems`
Expand Down Expand Up @@ -152,7 +152,7 @@ lib.fix (self: {
Type: loadPyprojectDynamic :: AttrSet -> AttrSet
Example:
# loadPyprojectDynamic { pyproject = lib.importTOML }
# loadPyprojectDynamic { projectRoot = ./.; }
{
dependencies = { }; # Parsed dependency structure in the schema of `lib.pep621.parseDependencies`
build-systems = [ ]; # Returned by `lib.pep518.parseBuildSystems`
Expand Down

0 comments on commit cfc19df

Please sign in to comment.