nbdevAuto 0.3.87__tar.gz → 0.3.89__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nbdevAuto
3
- Version: 0.3.87
3
+ Version: 0.3.89
4
4
  Summary: automating nbdev
5
5
  Author-email: Benedict Thekkel <bthekkel1@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -0,0 +1 @@
1
+ __version__ = "0.3.89"
@@ -636,7 +636,8 @@ DLTASK_NOT_TASKS = ("Theory", "Frameworks")
636
636
  LARGE_NB_BYTES = 3_000_000
637
637
  SKIP_DIRECTIVES = ("skip_showdoc", "skip_exec")
638
638
  # Never a site, so never held to the publishing standard (see special-submodules).
639
- NOT_PUBLISHED = ("Personal/bthek1_career",)
639
+ # Matched on the folder name, not the path, so renaming a category folder keeps the guard.
640
+ NOT_PUBLISHED = ("bthek1_career",)
640
641
 
641
642
  def _src(c):
642
643
  s = c.get("source", "")
@@ -765,7 +766,7 @@ def lint_one(path, sub=None, nbs="nbs"):
765
766
  "{notebook path relative to the superproject: {rule key: count}} for one submodule"
766
767
  name = sub.path if sub else path.name
767
768
  root = path/nbs
768
- if name in NOT_PUBLISHED: raise Skip("not published")
769
+ if Path(name).name in NOT_PUBLISHED: raise Skip("not published")
769
770
  if not root.is_dir(): raise Skip("without nbs")
770
771
  public = _public_notebooks(root)
771
772
  found = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nbdevAuto
3
- Version: 0.3.87
3
+ Version: 0.3.89
4
4
  Summary: automating nbdev
5
5
  Author-email: Benedict Thekkel <bthekkel1@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -1 +0,0 @@
1
- __version__ = "0.3.87"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes