-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Misc. Bugfixes/Enhancements * `openlane.config.Config` * YAML 1.2 configuration files now accepted using `.yaml` or `.yml` extensions, with the same featureset as JSON files. * The first configuration (file/dict) supplied no longer needs to be a complete configuration so long as any required variables are supplied in later configurations. Missing variables are only checked on the complete configuration. * Internally reworked how config files and command-line overrides are parsed. ## Documentation * Added info on YAML configuration files.
- Loading branch information
Showing
16 changed files
with
450 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 2024 Efabless Corporation | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
{ | ||
lib, | ||
fetchurl, | ||
buildPythonPackage, | ||
fetchPypi, | ||
pyyaml, | ||
setuptools, | ||
version ? "0.0.2", | ||
sha256 ? "sha256-iy65VBy+Fq+XsSy9w2+rkqjG9Y/ImL1oZR6Vnn2Okm8=", | ||
}: let | ||
self = buildPythonPackage { | ||
pname = "yamlcore"; | ||
inherit version; | ||
format = "pyproject"; | ||
|
||
src = fetchPypi { | ||
inherit (self) pname version; | ||
inherit sha256; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
setuptools | ||
]; | ||
|
||
meta = with lib; { | ||
description = "YAML 1.2 Core Schema Support for PyYAML"; | ||
homepage = "https://github.com/perlpunk/pyyaml-core"; | ||
license = licenses.mit; | ||
inherit (pyyaml.meta) platforms; | ||
}; | ||
}; | ||
in | ||
self |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,7 @@ | |
) | ||
from .types import ( | ||
is_number, | ||
is_real_number, | ||
is_string, | ||
Number, | ||
Path, | ||
|
Oops, something went wrong.