Comments (3)
Unfortunatly, prettier messes up admonitions:
!!! info "How to temporarily disable pre-commits?"
- For a specific commit, you can avoid running the pre-commits with the flag `--no-verify`. If you do this, make sure to run `pre-commit run --all-files` before opening a PR, which will run the pre-commit on all files.
-
+For a specific commit, you can avoid running the pre-commits with the flag `--no-verify`. If you do this, make sure to run `pre-commit run --all-files` before opening a PR, which will run the pre-commit on all files.
Issues opened:
The fix mentioned (adding a blank line between the !!! and the content) doesn't work on admonitions inside lists.
For future reference, this is the precommit hook I used:
- repo: local
hooks:
- id: prettier-docs
name: prettier-docs
language: system
entry: bash -c 'cd webapp && poetry run yarn prettier --write ../docs'
files: docs
from azimuth.
Did you mention yesterday that you found a fix for that? Did you need to install something with yarn first?
from azimuth.
I tried with another hook and got relatively close to it working, but it doesn't handle complex admonitions with code/bullets/multiple tables in them. I tabled this for now.
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
hooks:
- id: mdformat
exclude: docs/includes
additional_dependencies:
- mdformat-mkdocs
- mdformat-admon
- mdformat-beautysh
- mdformat-footnote
- mdformat-black
- mdformat-simple-breaks
- mdformat-tables
from azimuth.
Related Issues (20)
- Make smart tag aggregation plot work for dataset only
- Convert short_sentence and long_sentence to short_utterance and long_utterance.
- Tensor size mismatch with HF pipeline HOT 3
- Refactor get_utterances so it runs faster
- When modifying the config to a previous value (where a module cache exists), the dataset cache won't match.
- Hide post-processing switch and confidence slider when no pipeline.
- Use the confusion matrix as a filter HOT 1
- Fix support for importing the same CSV file twice
- Outcome per threshold chart overflow the tile
- Make config checkboxes' "hit box" smaller
- Tasks often get lost because a worker dies.
- Run the startup tasks per pipeline separately to avoid loading multiple pipelines at the same time.
- Limit the number of DatasetSplitManager and Model that the ArtifactManager can have in memory
- Refactor the prediction comparison module so it reads from the HF tables
- Debug logs are not showing on Dask workers.
- Investigate saliency task - is memory leaking? HOT 2
- Utterance details as a modal.
- Auto selection of the saliency layer HOT 2
- Use model's own embedding to compute similarity smart tags. HOT 2
- Docker build fails HOT 6
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 azimuth.