Comments (11)
In GitLab by @jannismain on Jul 11, 2023, 10:25
There is inconsistent pointer alignment (char* foo
vs. char *foo
) in the code base.
There seem to be some reasons1 to favor right alignment and forcing right alignment produces a smaller diff than forcing left alignment.
So I choose right alignment as the intended formatting for now.
Footnotes
from libjapi.
In GitLab by @jannismain on Jul 11, 2023, 10:28
changed target branch from master
to dev
from libjapi.
In GitLab by @jannismain on Jul 11, 2023, 14:46
added 1 commit
- 0e88fa05 - add clang-format as pre-commit hook
from libjapi.
In GitLab by @jannismain on Jul 11, 2023, 15:42
marked this merge request as ready
from libjapi.
In GitLab by @jannismain on Jul 11, 2023, 15:42
requested review from @vornkat-iis
from libjapi.
In GitLab by @jannismain on Jul 11, 2023, 15:49
added 12 commits
- 0e88fa05...e242bb66 - 11 commits from branch
dev
- e784a06 - add clang-format as pre-commit hook
from libjapi.
In GitLab by @vornkat-iis on Jul 11, 2023, 17:21
Pre-commit does not want to run in my WSL Debian 11:
> pre-commit run
An error has occurred: InvalidManifestError:
==> File /home/szk/.cache/pre-commit/repo_qj_2p5a/.pre-commit-hooks.yaml
==> At Hook(id='clang-format')
==> At key: types_or
==> At index 9
=====> Type tag 'textproto' is not recognized. Try upgrading identify and pre-commit?
If I remove "textproto", it works.
> pre-commit -V
pre-commit 3.3.3
from libjapi.
In GitLab by @vornkat-iis on Jul 11, 2023, 17:45
approved this merge request
from libjapi.
In GitLab by @vornkat-iis on Jul 11, 2023, 17:45
mentioned in commit d311e27
from libjapi.
In GitLab by @vornkat-iis on Jul 11, 2023, 17:46
Solution: Do as you are told and pip install --upgrade identify
and ... pre-commit
from libjapi.
In GitLab by @vornkat-iis on Jul 11, 2023, 17:46
resolved all threads
from libjapi.
Related Issues (20)
- libjapi/doxydir example out of date HOT 1
- Google Testframework not optional
- Include errors using <>/"" HOT 5
- Resolve "libjapi/doxydir example out of date" - [merged] HOT 12
- dynamic creation of push service during runtime HOT 1
- Add MIT license HOT 1
- Resolve "Add MIT license" - [merged] HOT 12
- server has to remove ungracefull disconnected zombie clients HOT 3
- Resolve "Japi_pushsrv_destroy is not cleaning ctx->push_service element" - [merged] HOT 13
- Resolve "Include errors using <>/""" - [merged] HOT 8
- Resolve "Different behavior of push services in debug and release mode" - [merged] HOT 8
- Add clang-format HOT 1
- Move issues to Github HOT 10
- update sync-traning docu value written in EEPROM HOT 1
- Collect code coverage HOT 1
- Improve `make help`
- Provide more modern environments for CI
- Refactor `japi_register_request` and remove `ctx->init`
- CI: upload-artifact v3 deprecated
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 libjapi.