hongbo-miao/hongbomiao.com

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
# https://docs.rubocop.org/rubocop/configuration.html

---
AllCops:
  NewCops: enable
  Exclude:
    # Anywhere (Folder mush have trailing /**/*)
    - '**/*.aliases'
    - '**/*.asv'
    - '**/*.cf'
    - '**/*.ghw'
    - '**/*.iml'
    - '**/*.lvlps'
    - '**/*.mexmaca64'
    - '**/*.mexmaci64'
    - '**/*.slxc'
    - '**/*.tfstate'
    - '**/*.unsealed.yaml'
    - '**/.DS_Store'
    - '**/.env.development.local'
    - '**/.env.production.local'
    - '**/.gitkeep'
    - '**/.idea/**/*'
    - '**/.pytest_cache/**/*'
    - '**/.ruff_cache/**/*'
    - '**/.terraform/**/*'
    - '**/.vagrant/**/*'
    - '**/.venv/**/*'
    - '**/.vscode/**/*'
    - '**/__pycache__/**/*'
    - '**/cmake-build-debug/**/*'
    - '**/codegen/**/*'
    - '**/node_modules/**/*'
    - '**/slprj/**/*'

    # Root (Must have leading ./; Folder mush have trailing /**/*)
    - './.git/**/*'
    - './.github/**/*'
    - './.mypy_cache/**/*'
    - './build-desktop-qt-Qt_6_4_1_for_macOS-Debug/**/*'
    - './dump.rdb'
    - './logs/**/*'
    - './logs.log'
    - './submodules/**/*'
    - './vendor/**/*'
    - './west-master-k3s.yaml'

    # Directories (Folder mush have trailing /**/*)
    - 'aerospace/hm-openaerostruct/reports/**/*'
    - 'aerospace/hm-openaerostruct/n2.html'
    - 'api-go/config/config_loader/server.crt'
    - 'api-go/config/config_loader/server.key'
    - 'api-go/config/config_loader/opal_auth_public_key.pem'
    - 'api-go/coverage.txt'
    - 'api-node/.clinic/**/*'
    - 'api-node/.stryker-tmp/**/*'
    - 'api-node/build/**/*'
    - 'api-node/coverage/**/*'
    - 'api-node/public/**/*'
    - 'api-node/reports/**/*'
    - 'api-python/dist/**/*'
    - 'caddy/public/**/*'
    - 'cloud-cost/komiser/komiser.db'
    - 'cloud-infrastructure/hm-pulumi/passphrase.txt'
    - 'cloud-infrastructure/terraform/environments/production/aws/data/files/amazon-msk/*/plugins/*.zip'
    - 'cloud-platform/aws/aws-secrets-manager/secrets/*-credentials.json'
    - 'cloud-security/hm-prowler/output/**/*'
    - 'computational-fluid-dynamics/openfoam/simulations/*/0.*/**/*'
    - 'computational-fluid-dynamics/openfoam/simulations/*/constant/polyMesh/**/*'
    - 'data-analytics/hm-geopandas/data/**/*'
    - 'data-ingestion/fluent-bit/*/data/**/*'
    - 'data-ingestion/vector/*/data/**/*'
    - 'data-orchestration/hm-prefect/workflows/*/*-deployment.yaml'
    - 'data-orchestration/hm-prefect/workflows/*/.coverage/**/*'
    - 'data-orchestration/hm-prefect/workflows/*/coverage.xml'
    - 'data-processing/flink/applications/*/.classpath'
    - 'data-processing/flink/applications/*/.project'
    - 'data-processing/flink/applications/*/.settings/**/*'
    - 'data-processing/flink/applications/*/dependency-reduced-pom.xml'
    - 'data-processing/flink/applications/*/src/main/resources/*.properties'
    - 'data-processing/flink/applications/*/target/**/*'
    - 'data-processing/hm-spark/applications/**/target/**/*'
    - 'data-processing/hm-spark/applications/*/.bsp/**/*'
    - 'data-processing/hm-spark/applications/*/data/**/*'
    - 'data-storage/hm-keydb/dump.rdb'
    - 'data-storage/hm-keydb/modules/**/*'
    - 'data-transformation/dbt/projects/*/dbt_packages/**/*'
    - 'data-transformation/dbt/projects/*/logs/**/*'
    - 'data-transformation/dbt/projects/*/target/**/*'
    - 'data-visualization/grafana/hm-panel-plugin/.config/**/*'
    - 'data-visualization/metabase/plugins/**/*'
    - 'desktop-qt/CMakeLists.txt.user'
    - 'embedded/decode-can-data/data/**/*'
    - 'ethereum/build/**/*'
    - 'hardware-in-the-loop/national-instruments/hm-tdms/data/**/*'
    - 'hm-kafka/kafka-client/kafka-c/*/build/**/*'
    - 'hm-kafka/kafka-client/kafka-c/*/config.ini'
    - 'hm-rust/target/**/*'
    - 'kubernetes/certificates/**/*'
    - 'kubernetes/data/config-loader/**/*'
    - 'kubernetes/data/elastic-apm/**/*'
    - 'kubernetes/data/hasura/hasura-graphql-engine/**/*'
    - 'kubernetes/data/hm-alpine/**/*'
    - 'kubernetes/data/hm-kafka/hm-kafka/**/*'
    - 'kubernetes/data/hm-kafka/logging-kafka-connect/**/*'
    - 'kubernetes/data/hm-kafka/opa-kafka-connect/**/*'
    - 'kubernetes/data/minio/**/*'
    - 'kubernetes/data/model-server/model-store/**/*'
    - 'kubernetes/data/opal-server/**/*'
    - 'kubernetes/data/yugabyte/**/*'
    - 'machine-learning/convolutional-neural-network/output/models/**/*'
    - 'machine-learning/convolutional-neural-network/output/reports/**/*'
    - 'machine-learning/convolutional-neural-network/wandb/**/*'
    - 'machine-learning/feature-store/driver_features/data/**/*'
    - 'machine-learning/graph-neural-network/dataset/**/*'
    - 'machine-learning/graph-neural-network/wandb/**/*'
    - 'machine-learning/hm-autogluon/AutogluonModels/**/*'
    - 'machine-learning/hm-langchain/applications/*/data/**/*'
    - 'machine-learning/hm-mlflow/experiments/*/data/**/*'
    - 'machine-learning/hm-mlflow/experiments/*/lightning_logs/**/*'
    - 'machine-learning/hm-mlflow/experiments/*/mlruns/**/*'
    - 'machine-learning/hm-mlflow/experiments/*/wandb/**/*'
    - 'machine-learning/hm-rasa/.rasa/**/*'
    - 'machine-learning/hm-rasa/graph.html'
    - 'machine-learning/hm-rasa/models/**/*'
    - 'machine-learning/hm-rasa/results/**/*'
    - 'machine-learning/hm-rasa/story_graph.dot'
    - 'machine-learning/hm-supervision/*/data/**/*'
    - 'machine-learning/neural-forecasting/*/lightning_logs/**/*'
    - 'machine-learning/triton/amazon-sagamaker-triton-resnet-50/infer/data/**/*'
    - 'mobile/mobile-android/.gradle/**/*'
    - 'mobile/mobile-android/app/build/**/*'
    - 'mobile/mobile-android/build/**/*'
    - 'mobile/mobile-android/local.properties'
    - 'mobile/mobile-ios/HMMobile.xcodeproj/project.xcworkspace/**/*'
    - 'mobile/mobile-ios/HMMobile.xcodeproj/xcuserdata/**/*'
    - 'mobile/mobile-react-native/.expo/**/*'
    - 'mobile/mobile-react-native/coverage/**/*'
    - 'reverse-engineering/*/main'
    - 'robotics/robot-operating-system/bags/**/*'
    - 'robotics/robot-operating-system/build/**/*'
    - 'robotics/robot-operating-system/install/**/*'
    - 'robotics/robot-operating-system/log/**/*'
    - 'spark/project/target/**/*'
    - 'spark/target/**/*'
    - 'web-cypress/cypress/fixtures/example.json'
    - 'web-cypress/cypress/screenshots/**/*'
    - 'web/.eslintcache'
    - 'web/.lighthouseci'
    - 'web/build/**/*'
    - 'web/coverage/**/*'
    - 'web/public/sitemap.xml'
    - 'web/storybook-static/**/*'
    - 'web/tmp/**/*'