From b5d93d0f7e0cb17669df55d55a2131d1d5b2013c Mon Sep 17 00:00:00 2001 From: UltralyticsAssistant Date: Tue, 15 Oct 2024 15:56:20 +0200 Subject: [PATCH] Refactor code for speed and clarity --- .github/workflows/format.yml | 5 ++--- README.md | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 56df2b8..5254bf3 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -18,12 +18,11 @@ jobs: - name: Run Ultralytics Formatting uses: ultralytics/actions@main with: - token: ${{ secrets.PERSONAL_ACCESS_TOKEN || secrets.GITHUB_TOKEN }} # note GITHUB_TOKEN automatically generated + token: ${{ secrets._GITHUB_TOKEN }} # note GITHUB_TOKEN automatically generated labels: true # autolabel issues and PRs python: true # format Python code and docstrings prettier: true # format YAML, JSON, Markdown and CSS spelling: true # check spelling links: false # check broken links summary: true # print PR summary with GPT4o (requires 'openai_api_key') - openai_azure_api_key: ${{ secrets.OPENAI_AZURE_API_KEY }} - openai_azure_endpoint: ${{ secrets.OPENAI_AZURE_ENDPOINT }} + openai_api_key: ${{ secrets.OPENAI_API_KEY }} diff --git a/README.md b/README.md index 0e3aece..bf44ca7 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@
-Ultralytics logo +Ultralytics logo # 🌟 Introduction Welcome to the official repository for the miniTimeCube (mTC) simulation and analysis code. This documentation is meant to guide you through the setup process, describe how to run simulations, and provide an overview of the analysis capabilities included in this project. Whether you are a physicist, a data scientist, or an enthusiast in the field of particle detection, you'll find the tools and information you need to work with the mTC. -[![Ultralytics Actions](https://github.com/ultralytics/miniTimeCube/actions/workflows/format.yml/badge.svg)](https://github.com/ultralytics/miniTimeCube/actions/workflows/format.yml) Discord Ultralytics Forums Ultralytics Reddit +[![Ultralytics Actions](https://github.com/ultralytics/miniTimeCube/actions/workflows/format.yml/badge.svg)](https://github.com/ultralytics/miniTimeCube/actions/workflows/format.yml) Discord Ultralytics Forums Ultralytics Reddit # 📚 Description @@ -51,7 +51,7 @@ This command starts the `nView` interface, where you can interact with the simul # 🤝 Contribute -We welcome contributions from the community! Whether you're fixing bugs, adding new features, or improving documentation, your input is invaluable. Take a look at our [Contributing Guide](https://docs.ultralytics.com/help/contributing) to get started. Also, we'd love to hear about your experience with Ultralytics products. Please consider filling out our [Survey](https://www.ultralytics.com/survey?utm_source=github&utm_medium=social&utm_campaign=Survey). A huge 🙏 and thank you to all of our contributors! +We welcome contributions from the community! Whether you're fixing bugs, adding new features, or improving documentation, your input is invaluable. Take a look at our [Contributing Guide](https://docs.ultralytics.com/help/contributing/) to get started. Also, we'd love to hear about your experience with Ultralytics products. Please consider filling out our [Survey](https://www.ultralytics.com/survey?utm_source=github&utm_medium=social&utm_campaign=Survey). A huge 🙏 and thank you to all of our contributors! @@ -83,5 +83,5 @@ For bug reports, feature requests, and contributions, head to [GitHub Issues](ht space Ultralytics BiliBili space - Ultralytics Discord + Ultralytics Discord