flake8
modular-monolith-with-ddd
Our great sponsors
flake8 | modular-monolith-with-ddd | |
---|---|---|
10 | 18 | |
- | 10,312 | |
- | - | |
- | 7.4 | |
- | 10 days ago | |
C# | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flake8
-
How I start every new Python backend API project
repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 hooks: - id: trailing-whitespace - id: check-merge-conflict - id: check-yaml args: [--unsafe] - id: check-json - id: detect-private-key - id: end-of-file-fixer - repo: https://github.com/timothycrosley/isort rev: 5.10.1 hooks: - id: isort - repo: https://github.com/psf/black rev: 22.8.0 hooks: - id: black - repo: https://gitlab.com/pycqa/flake8 rev: 3.9.2 hooks: - id: flake8 - repo: https://github.com/pre-commit/mirrors-mypy rev: v0.971 hooks: - id: mypy args: [ --warn-unused-configs, --ignore-missing-imports, --disallow-untyped-defs, --follow-imports=silent, --install-types, --non-interactive ]
-
Flake8 took down the gitlab repository in favor of github
I just ran `pre-commit autoupdate`. It's asking for a username for https://gitlab.com/pycqa/flake8. :-(
-
flake8-length: Flake8 plugin for a smart line length validation.
Flake8 plugin for a smart line length validation.
-
Should I follow the warnings in Pycharm? Does anyone do this?
repo: https://gitlab.com/pycqa/flake8 rev: 3.9.2 hooks:
-
flake8-pylint: Flake8 plugin that runs PyLint
Flake8 plugin that runs PyLint.
- Ask HN: Did somebody have success with the migration of Python 2.7 to Java/C#?
-
Make your Django project newbie contributor friendly with pre-commit
$ pre-commit install pre-commit installed at .git/hooks/pre-commit $ git add .pre-commit-config.yaml $ git commit -m "Add pre-commit config" [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://gitlab.com/pycqa/flake8. [INFO] Initializing environment for https://github.com/pycqa/isort. [INFO] Initializing environment for https://github.com/python/black. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://gitlab.com/pycqa/flake8. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/pycqa/isort. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/python/black. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... Trim Trailing Whitespace.................................................Passed Check Yaml...............................................................Passed Check for merge conflicts................................................Passed Debug Statements (Python)............................(no files to check)Skipped Check for added large files..............................................Passed Fix requirements.txt.................................(no files to check)Skipped Check django project for potential problems..........(no files to check)Skipped Check django project for missing migrations..........(no files to check)Skipped flake8...............................................(no files to check)Skipped isort................................................(no files to check)Skipped black................................................(no files to check)Skipped
-
On unit testing
If you're looking for just good automated error checking, I personally use a bunch of flake8 plugins via pre-commit hooks: flake8-bugbear, flake8-builtins, flake8-bandit, etc. You can find a bunch of sites that give recommended plugins and you just need to pick which ones you care about :)
-
Python: Setting Up Project Environment
flake8 is Python style checker based on PEP8(Python Enhance Proposal 8). black is a good code formatter. But some items such as Documentation String, black is not provided the check option. flake8 not only helps for lack of black but also can be easily applied with black.
modular-monolith-with-ddd
-
Modular Monolith with DDD repository migrated to .NET 8.0
Link to PR here: https://github.com/kgrzybek/modular-monolith-with-ddd/pull/286
-
How to find a sample enterprise applications?
- https://github.com/kgrzybek/modular-monolith-with-ddd (a really well documented example)
-
How I start every new Python backend API project
You can see there is a module called building_blocks. Inside it, I keep all the utilities needed in the project, like a logger, serializers, and so on. I did not make up this name, I borrowed it from this repo.
- Does anybody want to learn Computer Science??
-
100+ Must Know Github Repositories For Any Programmer
9. Modular Monolith with TDD
- Can you suggest a Git repo using DDD
-
Can you suggest a git repo using DDD?
This covers far more than just DDD, however, I find the links and README super helpful for a wide range of subjects: https://github.com/kgrzybek/modular-monolith-with-ddd
-
Software design: What are the middle ground options between monolith and microservices?
Modular monolith. Here is one of the best production-ready examples https://github.com/kgrzybek/modular-monolith-with-ddd
- Why do I distrust people who talk about Clean Architecture?
-
The only two custom React hooks we ever use
Am wondering what react community thinks of DDD.
I've been reading "blue" DDD book (by Eric Evans) and "red" book (by Vaugh Vernon) and that was a completely "my whole life was a lie" type of experience and relief at the same time. It's just so great to have the principles of who to structure the code. It, by definition makes, your codebase structure meaningful. Because it's structured according to some common knowledge, not your random thoughts at the time you were writing code.
I was surprised to find so little DDD react sample codebases. Let's say for backend there is huge amount of samples, i.e. https://github.com/kgrzybek/modular-monolith-with-ddd . For react/frontend I have bookmarked only https://github.com/talyssonoc/react-redux-ddd/tree/master/sr... and few more, but those others does not meet the optional criteria i like really much - at the highest (or at app) level all codebase need to have folders app, domain, infra and ui. Simple rule, but simplifies life a lot.
So my question is - is DDD for some reasons not very applicable for app frontend development. Or it just never became popular. Or maybe DDD is popular amongst react developers, just I am not aware of this.
Many thanks for any ideas and comments!
What are some alternatives?
pyright - Static Type Checker for Python
CleanArchitecture - Clean Architecture Solution Template for ASP.NET Core
black - The uncompromising Python code formatter [Moved to: https://github.com/psf/black]
Domain-Driven-Design-Example - Blog series supplementary domain-driven design C# repository that (hopefully) actually makes sense.
yapf - A formatter for Python files
UpdatedMonolithSolver - A tool that creates a solution for the "Treasure Hunter! Monolith" minigame in Danganronpa V3: Killing Harmony
pyre-check - Performant type-checking for python.
ASP.NET Boilerplate - ASP.NET Boilerplate - Web Application Framework
mypy - Optional static typing for Python
eShopOnWeb - Sample ASP.NET Core 8.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
MassTransit - Distributed Application Framework for .NET