Comments (9)
Hmm, smells like another version of #52.
Parsing is hard 😭
from sybil.
Can you share your sybil setup from conftest.py
?
from sybil.
https://github.com/hynek/svc-reg/blob/main/conftest.py 🤓
from sybil.
How come you're using the ReST parsers rather than sybil.parsers.myst.PythonCodeBlockParser?
from sybil.
Added a couple of tests which appear to show this working:
ed027e8
Also chucked in a PR to what I hope will fix things up:
hynek/svcs#2
from sybil.
How come you're using the ReST parsers rather than sybil.parsers.myst.PythonCodeBlockParser?
the answer is, as always: copy and paste :D
from sybil.
But from where?
from sybil.
I think maybe https://sybil.readthedocs.io/en/latest/patterns.html – I was a bit in a panic mode doing three things at once after fighting my own stuff for a whole day.
from sybil.
Okay, let's move this over to hynek/svcs#2, if there are bugs, we can re-open this one, or others
from sybil.
Related Issues (20)
- `skip: next` now seems to require an empty line after it HOT 2
- Pytest 8 error: FixtureManager.getfixtureclosure() missing 1 required positional argument: 'ignore_args' HOT 14
- Support for `testcode` and `testoutput` in `DocTestDirectiveParser`s HOT 6
- MyST lexer can't handle code fences with additional backticks HOT 5
- sdist is missing some files needed for testing HOT 3
- Regression: Fails handling triple backquotes with lang tag HOT 13
- isinstance with `Protocol` fails in doctest HOT 3
- Codeblock Lexer pattern doesn't work if codeblock ends with close comment (end of input to the lexer) HOT 2
- tests/helpers.py not in PyPI tarball HOT 1
- Allow test setup/cleanup HOT 6
- Have a badge HOT 1
- Doesn't work with namespace packages HOT 3
- Unhelpful error with missing final linefeed HOT 4
- Warnings on Python 3.12 about ast.Str HOT 2
- Feature request: Add type hints HOT 3
- ModuleNotFoundError if pytest is not installed HOT 5
- Support GitHub Flavored Markdown (GFM)
- Request: Add test which fails if `self.evaluator = None` is removed HOT 2
- Parse and export directive options, too HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sybil.