From 6d59960b599e4d08103a22c5ff5b0745d1b58875 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Wed, 3 Mar 2021 13:06:05 -0300 Subject: [PATCH] Sorted the schematic dependencies to make them consistent. --- CHANGELOG.md | 1 + kibot/kicad/v5_sch.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bc2a190..d4a55ed7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Errors and warnings from KiAuto now are printed as errors and warnings. +- Schematic dependencies are sorted in the generated Makefiles ### Fixed - Problem when using E/DRC filters and the output dir didn't exist. diff --git a/kibot/kicad/v5_sch.py b/kibot/kicad/v5_sch.py index 7276c2d9..ed9f7f72 100644 --- a/kibot/kicad/v5_sch.py +++ b/kibot/kicad/v5_sch.py @@ -1474,7 +1474,7 @@ class Schematic(object): files = {self.fname} for sch in self.sheets: files.update(sch.sheet.get_files()) - return list(files) + return sorted(files) def get_components(self, exclude_power=True): """ A list of all the components. """