Giter VIP home page Giter VIP logo

Comments (3)

rsokl avatar rsokl commented on August 18, 2024 1

Sorry for not just opening an issue earlier! I can confirm that the internal errors I was getting on 0.3.10, e.g.

Internal error formatting 'README.md': Cannot parse: 1:0: >>> from hydra_zen import builds

were indeed related to me using a python code block where I should be using a pycon one. I can also confirm that 0.4.1 runs without issue on the same project!

from shed.

Zac-HD avatar Zac-HD commented on August 18, 2024

As of shed == 0.4.1, this is no longer an error - but we silently skip such broken bits of code, and I'd prefer to emit a warning or print to stderr. Challenge: thread through a location param to use in such a warning, and ideally make it warning when used in code - caught and printed to stderr when in the CLI.

from shed.

Zac-HD avatar Zac-HD commented on August 18, 2024

Fixed by c2414fe: from version 0.4.2, shed reports

$ shed hydra-zen/README.md
Could not parse ```python markdown block in file 'hydra-zen/README.md'
    Perhaps you should use a 'pycon' block instead?
Could not parse ```python markdown block in file 'hydra-zen/README.md'
    Perhaps you should use a 'pycon' block instead?

and successfully formats the actually-python code blocks in the same pass 🚀

from shed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.