Deprecated - moved to https://github.com/MarcoGorelli/madforhooks
marcogorelli / check-execution-order Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Deprecated - moved to https://github.com/MarcoGorelli/madforhooks
Hi @MarcoGorelli ,
over at pymc-devs/pymc-examples#264 I'm running into an encoding issue with this pre-commit step.
Would it help if you specify an encoding for opening the files?
Here's the file that triggered it:
sampler-stats.zip
INFO:scripts/rerun.py:Running pre-commit on examples\diagnostics_and_criticism\sampler-stats.ipynb
black-jupyter..................................................................................Failed
- hook id: black-jupyter
- files were modified by this hook
reformatted examples\diagnostics_and_criticism\sampler-stats.ipynb
All done! \u2728 \U0001f370 \u2728
1 file reformatted.
nbqa-isort.....................................................................................Passed
nbqa-pyupgrade.................................................................................Passed
check-execution-order..........................................................................Failed
- hook id: check-execution-order
- exit code: 1
Traceback (most recent call last):
File "c:\users\zufal\miniconda3\envs\pm3v4\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\zufal\miniconda3\envs\pm3v4\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\zufal\.cache\pre-commit\repodgyo1nz1\py_env-default\Scripts\check-execution-order.EXE\__main__.py", line 7, in <module>
File "C:\Users\zufal\.cache\pre-commit\repodgyo1nz1\py_env-default\lib\site-packages\check_execution_order.py", line 44, in main
content = json.load(fd)
File "c:\users\zufal\miniconda3\envs\pm3v4\lib\json\__init__.py", line 293, in load
return loads(fp.read(),
File "c:\users\zufal\miniconda3\envs\pm3v4\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 39467: character maps to <undefined>
Check notebooks have watermark (see Jupyter style guide from PyMC3 Wiki).......................Passed
Check all notebooks appear in table of contents................................................Passed
Add PyMC3 classes used to tags.................................................................Passed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.