best-doctor / guides Goto Github PK
View Code? Open in Web Editor NEWНабор гайдов, которые использует команда разработки BestDoctor
License: MIT License
Набор гайдов, которые использует команда разработки BestDoctor
License: MIT License
https://github.com/best-doctor/guides/blame/master/guides/python_styleguide.md#L250
PEP-8 предлагает двойной отступ не зря, а чтобы вызов не сливался визуально с одиночным выступом для обычной вложенности.
Скобка на начальном уровне - это C K&R стиль.
привет, хочу перевести гайд, думаю к 12 мая успеть весь [или какую-то часть]
Документация по тестам сейчас говорит, что генерация объектов в фикстур недопустима. Вместо этого она предлагает переносить генерацию объектов в фабричный метод. Нужно добавить пример такого переноса для следующего фрагмента кода:
@pytest.fixture()
def n_patients_factory(patient_factory):
def generate_n_patients(patients_num, data_only=False):
if data_only:
return patient_factory.build_dict_batch(patients_num)
return patient_factory.create_batch(patients_num)
Привет!
Хочу перевести вот этот гайд на английский. Планирую управиться за выходные и отправить ПР 11-го вечером, или 12-го утром
Это нужно по двум причинам: во-первых, эти комментарии часто висят годами и с ними ничего не происходит, а во-вторых, они создают вперчатление поломанности проекта.
Вы смотрели на практику Conventional Commits в качестве guide commit ?
Для pycharm есть плагин - https://plugins.jetbrains.com/plugin/13389-conventional-commit
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.