Skip to content

Commit

Permalink
disabled some pre-commit hooks
Browse files Browse the repository at this point in the history
mdf for all files
trailing whitespace for docs
  • Loading branch information
manujosephv committed Jan 16, 2023
1 parent 1a12eb6 commit fd2f48a
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
19 changes: 10 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ repos:
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
exclude: ^docs/
- id: check-case-conflict
- id: check-yaml
- id: check-toml
Expand Down Expand Up @@ -44,14 +45,14 @@ repos:
- id: black
name: Black code

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
hooks:
- id: mdformat
additional_dependencies:
- mdformat-gfm
- mdformat-black
- mdformat_frontmatter
# - repo: https://github.com/executablebooks/mdformat
# rev: 0.7.16
# hooks:
# - id: mdformat
# additional_dependencies:
# - mdformat-gfm
# - mdformat-black
# - mdformat_frontmatter

# - repo: https://github.com/asottile/yesqa
# rev: v1.4.0
Expand All @@ -63,7 +64,7 @@ repos:
hooks:
- id: flake8

exclude: ^docs/
# exclude: ^docs/

# exclude: |
# (?x)(
Expand Down
1 change: 0 additions & 1 deletion docs/authors.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@
## Contributors

- [Jirka Borovec](https://github.com/Borda)

2 changes: 1 addition & 1 deletion docs/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ PyTorch Tabular offers 4 standard transformations using the `continuous_feature_

::: pytorch_tabular.config.DataConfig
options:
show_root_heading: yes
show_root_heading: yes
2 changes: 1 addition & 1 deletion docs/experiment_tracking.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ This can be done using the parameter `log_logits` in `ExperimentConfig`.

::: pytorch_tabular.config.ExperimentConfig
options:
show_root_heading: yes
show_root_heading: yes
2 changes: 1 addition & 1 deletion docs/optimizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ tabular_model.fit(

::: pytorch_tabular.config.OptimizerConfig
options:
show_root_heading: yes
show_root_heading: yes
2 changes: 1 addition & 1 deletion docs/other_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ val_transformed = transformer.transform(val)

::: pytorch_tabular.feature_extractor.DeepFeatureExtractor
options:
show_root_heading: yes
show_root_heading: yes
2 changes: 1 addition & 1 deletion docs/ssl_models.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ All the parameters have intelligent default values. Let's look at few of them:
- `noise_probabilities`: Optional\[Dict\[str, float\]\]: The probability with which noise will be introduced to a feature. Can be a dictionary of the form, `{featurename: noise_probability}`. Or can be set to a single probability for all the features easily by using `default_noise_probability`. Defaults to None
**For a complete list of parameters refer to the API Docs**
[pytorch_tabular.ssl_models.DenoisingAutoEncoderConfig][]
[pytorch_tabular.ssl_models.DenoisingAutoEncoderConfig][]
2 changes: 1 addition & 1 deletion docs/training.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ To unlock the full potential of the PyTorch Lightning Trainer, you can use the `

::: pytorch_tabular.config.TrainerConfig
options:
show_root_heading: yes
show_root_heading: yes

0 comments on commit fd2f48a

Please sign in to comment.